It is working great on my network.  What devices are you polling with it?

David


-----Original Message-----
From: Max [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 4:32 PM
To: [email protected]
Subject: [Nagios-users] No output from check_snmp_cisco_memutil

Hi,

Is anyone using the check_snmp_cisco_memutil script? I got this off of 
NagiosExchange and haven't been successful at getting it to function 
properly. I'm running Nagios 1.2 and I have the appropriate Net::SNMP 
and other Perl packages installed, because I'm doing a ton of other 
checks across SNMP. I can run the command from the command line 
successfully such as:

./check_snmp_cisco_memutil -H myhost -C mycommunity -w 60 -c 65
Status is OK - MEMORY: total: 67.11 MB, used: 27.50 MB (41%), free: 39.61 MB

I have defined a command in my checkcommands.cfg as:


define command{
         command_name    snmp_mem
         command_line    $USER1$/check_snmp_cisco_memutil -H 
$HOSTADDRESS$ -C mycommunity -w 60 -c 65
         }

Also, I've defined the service in services.cfg:

define service{
         use                             basic-service
         name                            snmp-mem
         service_description             MEM
         check_command                   snmp_mem
         host_name                      myhost
         }

Basically, the service MEM I have defined shows up under the host 
specified, but the plugin fails saying there is no output. I've 
configured quite a few services in the instance of Nagios I have up and 
running, so I'm fairly sure it's not my config.

I've checked the logs that I know about and there is nothing other than 
"No output!" Has anyone else had a similar experience? I'm not a Perl 
programmer so perhaps this script is messed up, but I figured if that 
were the case though, it wouldn't function from the command line either.

About as far as I've gone with changing the script was to make sure that 
it was actually returning the exit status's that Nagios uses to 
determine if something is Ok, Warning, or Critical. It seems to be 
returning those values correctly. Any suggestions? Thanks!

Max


-------------------------------------------------------
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
[email protected]
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
[email protected]
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

Reply via email to