Nagios sometimes shows wrong status

Thomas Guyot-Sionnest dermoth at aei.ca
Thu May 28 07:17:24 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27/05/09 10:04 AM, Michael Prochaska wrote:
> Hi,
> 
> sorry, here is the right snippet from  nagios.log:
> 
> [1243412547] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412545
> [1243412553] SERVICE ALERT: acgweb1;BASIC_SVM;OK;SOFT;3;CRITICAL - One or
> more disks are in maintenance state.
> [1243412558] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412556
> [1243412565] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412563
> [1243412579] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412577
> [1243412583] SERVICE ALERT: acgweb1;BASIC_SVM;CRITICAL;SOFT;1;CRITICAL -
> One or more disks are in maintenance state.
> [1243412590] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412588
> [1243412593] SERVICE ALERT: acgweb1;BASIC_SVM;OK;SOFT;2;CRITICAL - One or
> more disks are in maintenance state.
> [1243412625] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412623
> [1243412828] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412826
> [1243412838] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412836
> [1243412854] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412851
> [1243412869] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412866
> [1243412875] EXTERNAL COMMAND:
> SCHEDULE_SVC_CHECK;acgweb1;BASIC_SVM;1243412866
> ...
> [1243413483] SERVICE ALERT: acgweb1;BASIC_SVM;CRITICAL;SOFT;1;CRITICAL -
> One or more disks are in maintenance state.
> ...
> [1243413603] SERVICE ALERT: acgweb1;BASIC_SVM;OK;SOFT;2;CRITICAL - One or
> more disks are in maintenance state.
> [1243413903] SERVICE ALERT: acgweb1;BASIC_SVM;CRITICAL;SOFT;1;CRITICAL -
> One or more disks are in maintenance state.
> 
> 
> and the time of the two systems are sync :-)
> 
> # date && ssh acgweb1 date
> Wednesday, May 27, 2009  2:02:20 PM GMT
> Wed May 27 14:02:20 GMT 2009

So you're running the check remotely? What are you using for that? Your
nagios checkcommand definition? I assume you tried running the command
(the one that runs the script remotely) on the nagios server too...

Thomas


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKHh5j6dZ+Kt5BchYRAuuJAKDsnxGZV9BBf32m6MGtwkNSansl3ACg9mLv
Kq4wAsvi0DgAUjJc7JeJ3Yg=
=7oMW
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 




More information about the Developers mailing list