The script looks at the last uptime counter value, and if it is within 8 minutes (I think) of the 32-bit rollover, then it does not alarm regardless of the current value of the counter.
So, it¹s theoretically possible to miss an unwanted reboot, if it happens within 8 minutes of the max 32-bit counter value. Mike Mike Dorman Lead Systems Engineer Latisys-Denver, LLC (303) 268-1504 direct [email protected] www.latisys.com From: "Vincent C." <[email protected]> Reply-To: Opsview Users <[email protected]> Date: Thu, 4 Feb 2010 05:05:54 -0700 To: Opsview Users <[email protected]> Subject: Re: [opsview-users] check_snmp_uptime bug Hello, I faced the same issue, but coped with it giving me a false alert from time to time. Didn't check the script yet, but I'm willing to use it. Mike, how does your script manage to do the difference when a server is rebooted or reboots itself, and the counter rolling over? Vincent On 3 February 2010 17:10, Mike Dorman <[email protected]> wrote: > Here it is. It's based on the 2.x version of the check_snmp_uptime check > command (I think.) I apologize I don't have a diff for it. > > Mike > > > Mike Dorman > Lead Systems Engineer > > Latisys-Denver, LLC > (303) 268-1504 direct > [email protected] > www.latisys.com <http://www.latisys.com> > > >> > From: James Peel <[email protected]> >> > Reply-To: Opsview Users <[email protected]> >> > Date: Wed, 3 Feb 2010 16:02:22 +0000 >> > To: Opsview Users <[email protected]> >> > Subject: Re: [opsview-users] check_snmp_uptime bug >> > >> > >> > >>> >> Not very elegant, but it works. I can send it to you and/or the >>> >> list if >>> >> you'd like. >> > >> > >> > I would be interested. >> > >> > -- >> > James >> > >> > >> > _______________________________________________ >> > Opsview-users mailing list >> > [email protected] >> > http://lists.opsview.org/lists/listinfo/opsview-users > > > _______________________________________________ > Opsview-users mailing list > [email protected] > http://lists.opsview.org/lists/listinfo/opsview-users > _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
<<image.png>>
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
