Debugging nagios checks?

Michael T. Halligan michael at halligan.org
Sat Dec 10 01:31:34 CET 2005


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

Jason,

Pretty much what I ended up doing, except I just tee'd a copy of the  
output to a file.

Michael


On Dec 9, 2005, at 1:02 PM, Jason Rojas wrote:

> what about using /bin/echo to echo the command to check the syntax,  
> then run the plugin by hand from command line to see if there are  
> any issues?
>
> -Jason
> Hugo van der Kooij wrote:
>> On Fri, 9 Dec 2005, Michael T. Halligan wrote:
>>
>>
>>> Yes, yes, and yes.  From here, I'm somewhat out of good paths for
>>> debugging this.  What I can't understand, is I don't even see script
>>> processes actually running if I keep a constant ps going.. does
>>> Nagios-2 no longer run scripts in a visible manner?
>>>
>> It may just be too fast for you to see.
>>
>> I started top. Choose to check only processes of user nagios and did
>> increase the update frequency to 0.5 seconds
>>
>> Then you can see the checks being sparked of.
>>
>> Hugo.
>>
>>
> ------------------------------------------------------- This SF.net  
> email is sponsored by: Splunk Inc. Do you grep through log files  
> for problems? Stop! Download the new AJAX search engine that makes  
> searching your log files as easy as surfing the web. DOWNLOAD  
> SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click  
> _______________________________________________ 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDmiHtwjCqooJyNAMRAk4tAJ0YjkIoc1B3xl/VGFBKfPFD7pa3YQCgsvck
K9q7+oolq6d/8o08APV01nw=
=Mevl
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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