-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/08/08 10:46 AM, fevin Kagen wrote: > I'm having this exact same issue on two different Nagios servers. One > running Fedora and one running Ubuntu. It is driving me crazy. > > > > An SNMP Trap is received for a backup job. It is properly translated > and ultimately received by Nagios. I have a freshness check in place > for the service that will create a critical alert if a check is not > received every 26 hours. For whatever reason, the check is run right > after the alert is received and it think the results are 12K+ days old. > It seems to periodically think the results are from 11-08-1973. > > > > This is an ongoing issue on both servers, but certainly isn't the norm. > Typically the freshness checks work great. However, about once or > twice a week, I see this behavior on random checks. Here is an example:
There's something wrong with the script/process returning these passive check. The passive check returned to the Nagios command pipe has the following format: > [<timestamp>] > PROCESS_PASSIVE_CHECK_RESULT;<hostname>;<service_name>;<return_code>;<status_text> The timestamp is a normal UNIX timestamp (seconds since EPOCH) and determine the time at which the check was performed. If you return an invalid/too old timestamp, Nagios will think the service is that old and trigger the freshness check. I believe a possible way to receive such old timestamps is if you have a server with invalid date (i.e. in the 1972's) using send_nsca, where the nsca daemon would be set up with max_packet_age=0. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInzV06dZ+Kt5BchYRAn7yAKC9hSQEsPiPlFrfJwIbIdgA7AoTgQCg+eDr h5VTjSAp849z3OaTYDj7Las= =qctW -----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@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