Nagios freshness checks randomly think check results are from 1973.
fevin Kagen
fevinkagen at gmail.com
Mon Aug 11 22:57:56 CEST 2008
So... is a date sent in the SNMP trap or is the date set to the
time that Nagios receives the alert?
Is there a way to output to both the existing output (the nagios
command file) and a debug output? It doesn't happen all the time so
trying to capture a bad entry would mean taking the whole system down
for a week plus.
Thanks!
Kevin
On 8/10/08, Thomas Guyot-Sionnest <dermoth at aei.ca> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/08/08 06:28 PM, fevin Kagen wrote:
>> Thanks for the quick reply. My date is correct on both servers, but I
>> am using the same two scripts on both. This could certainly be
>> causing the issue. They are modified versions of Francois Meehan's
>> snmptraphandling.py. I don't know this first thing about python so I
>> just hacked around until I got them working the way I wanted. I don't
>> think I changed anything to deal w/ time and date handling, but who
>> knows. Here is one of the scripts >
>> ---------------------------------------------------------------
>
> If it happens all the time, try changing the output file and see what it
> writes. Otherwise, you may try adding a debug file where you send the
> same thing, though I don't know python so I can't really help. If you
> manage to do that then then next time it fails you can look at what it
> wrote.
>
>
> - --
> Thomas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIn6lz6dZ+Kt5BchYRAivSAJ9gzJkkT5NXC2dn8ClzXhl1HeH0SQCg1MQ+
> fHhgyVGVrfgRpwMwmJsbDxw=
> =us3x
> -----END PGP SIGNATURE-----
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list