Debugging nagios checks?

Michael T. Halligan michael at halligan.org
Fri Dec 9 20:55:49 CET 2005


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

Eli,

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?

Michaeel


On Dec 9, 2005, at 11:48 AM, Eli Stair wrote:

>
> Have you already tested the plugin from the commandline, passing it  
> the args that are sent from Nagios to make sure your version/ 
> community string and mountpoint info are properly read and returned?
>
> Have you checked to make sure that SNMP is monitoring disk usage?
>
> /eli
>
> Michael T. Halligan wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> I'm trying to use check_snmp_storage.pl from http:// 
>> www.manubulon.com/ nagios/snmp_storage.html and am having a bit of  
>> a hard time.
>> Nagios simply fails when trying to check, with the extremely  
>> helpful  error of "(No output!)" .. Nothing useful gets generated  
>> in any of
>> the logs (and I have every log option turned on).. When I strace   
>> nagios, there's still not much useful.
>> How can I make nagios show me what it's running when it runs a  
>> check,  and show me the output, so I can debug this issue? I think
>> I'm running into a problem with snmp on my client boxes, but I  
>> have  no idea.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.1 (Darwin)
>> iD8DBQFDmd5ywjCqooJyNAMRAsoSAJ9LJhdN5qFYyiUo0yLgYBTP5k+CagCeJjbd
>> l/4YsXHAUJdkgUWEAv3kLf4=
>> =KY95
>> -----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
>
>
>
> -------------------------------------------------------
> 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)

iD8DBQFDmeFJwjCqooJyNAMRAuBrAKC4mwCyldVwnhGiGhjPMvs/RMhsbwCcCgpj
uYeR7aShALcHnLoCBtHPUTc=
=SvA5
-----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