On 01.07.15 14:19, Mailing Lists wrote:
Anyway, fixed now in r6539.Ah! Thanks Mike, I will be turning that option off for the time being then I think :)
Tim C
On 1 July 2015 at 11:55, Mike Stupalov <mike@observium.org> wrote:
On 01.07.15 13:44, Mailing Lists wrote:
Ahh, that enent :DYeah I did that search, the event log search contains no events for the device that considers itself to have rebooted on the front page, it does contain events for devices that rebooted previously, If I search specifically against the device, the search is empty.
It really is not related to fixed in previous commits..
Here just check if uptime less than in config option:
$config['uptime_warning'] = "86400"; // Time in seconds to display a "Device Rebooted" Alert. 0 to disable warnings.
I will try to fix this issue, that option a long time not actual :)
I'll send the debug output over shortly off list.
Tim C
On 1 July 2015 at 10:54, Mike Stupalov <mike@observium.org> wrote:
On 01.07.15 12:40, Mailing Lists wrote:
Additionally include debug output for this device from system poller:Actually, now you mention it, this is actually only showing on the front page 'device alerts' under the map, it didn't actually trigger an event in the event log that I can see? (and there is no alert mail setup as yet)
./poller.php -d -m system -h <your_device>
In eventlogs, go to http://your_observium/eventlog and use search, like:
Tim C
On 1 July 2015 at 10:32, Mike Stupalov <mike@observium.org> wrote:
Hi,
On 30.06.15 18:38, Tim Cooper wrote:
you are sure that device not really rebooted? ;)Hi Michael,
We are running r6531 and I’ve just had a device flag as rebooted after the counter rolled over at 497 days, are we sure this improvement is working as intended?
Well, show me eventlog message (and if exist alert mail with this reboot condition).
Thanks,
Tim C
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Mike Stupalov
Sent: 22 May 2015 10:06
To: observium@observium.org
Subject: Re: [Observium] What triggers the 'device rebooted' alert?
On 21.05.2015 22:57, Michael Vieth wrote:
Did the math, and this makes since. Thank you. The math checks out that this device will rollover in uptime every 497 days.
Rollover reboot issue after 497 days now should be fixed since r6419.
Cheers,
Michael Vieth
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Phillip Baker
Sent: Thursday, May 21, 2015 9:34 AM
To: Observium Network Observation System
Subject: Re: [Observium] What triggers the 'device rebooted' alert?
Okay, but sysUptime is not recorded in seconds but 1/100ths of a second. Also, 32bit signed integer is only good for 135 years with one second resolution (as time doesn’t start from negative numbers, it’s only really 2^31 available space)
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Michael Vieth
Sent: 21 May 2015 15:25
To: Observium Network Observation System
Subject: Re: [Observium] What triggers the 'device rebooted' alert?
It says it is an eight-byte signed integer. That’s 2^63 correct? There should be several millennia before a rollover if my interpretation is correct.
Cheers,
Michael Vieth
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Phillip Baker
Sent: Thursday, May 21, 2015 9:14 AM
To: Observium Network Observation System
Subject: Re: [Observium] What triggers the 'device rebooted' alert?
This is a standard issue with 32 bit counters and uptimes, so I’d start with google first! J
This isn’t an observium/database issue.
Phil
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Michael Vieth
Sent: 21 May 2015 15:04
To: Observium Network Observation System
Subject: Re: [Observium] What triggers the 'device rebooted' alert?
Right, the graph shows an uptime of ~ 8 hours now, but the device itself says 497 days. Which observium concurs with… until about 8 hours ago.
I’m not great with sql so am getting a co-worker to pull the DB info to see if that sheds any more light on the issue.
Cheers,
Michael Vieth
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Spencer Ryan
Sent: Thursday, May 21, 2015 8:38 AM
To: Observium Network Observation System
Subject: Re: [Observium] What triggers the 'device rebooted' alert?
Device-->Graphs-->System tab. One of the graphs will show you uptime.
Spencer Ryan | Senior Systems Administrator | sryan@arbor.netArbor Networks
+1.734.794.5033 (d) | +1.734.846.2053 (m)
On Thu, May 21, 2015 at 9:36 AM, Michael Vieth <MVieth@nexatech.com> wrote:
Right, I checked my config.php and saw it as a 24hour setting.
I’ll look in the database for any uptime count.
Cheers,
Michael Vieth
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Spencer Ryan
Sent: Thursday, May 21, 2015 8:25 AM
To: Observium Network Observation System
Subject: Re: [Observium] What triggers the 'device rebooted' alert?
A device uptime of < 24 hours by default.
My guess is the SNMP counter rolled over on whatever device it's monitoring so observium sees it as a reboot.
Spencer Ryan | Senior Systems Administrator | sryan@arbor.netArbor Networks
+1.734.794.5033 (d) | +1.734.846.2053 (m)
On Thu, May 21, 2015 at 9:23 AM, Michael Vieth <MVieth@nexatech.com> wrote:
I am showing a device reboot alert but the uptime is shown to be over a year.
The reboot is reported to happen last night precisely at midnight.
Using version 0.15.3.6343
Cheers,
Michael Vieth | Network Engineer
Nexa Technologies
801 E Campbell Rd. Ste 400 | Richardson, TX 75081
Phone: (972) 590-8669 x1906
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--Mike Stupalovhttp://observium.org
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov http://observium.org
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium