can't get into netsnmp: no output! error

Marc Powell marc at ena.com
Mon Apr 3 16:31:28 CEST 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Oliver A. Rojo
> Sent: Saturday, April 01, 2006 11:45 PM
> To: nagios
> Subject: [Nagios-users] can't get into netsnmp: no output! error
> 
> Hi guys,
> 
> Anyone can help me?
> 
> I just installed nagios 1.3 version on my FC2 OS. Im trying to monitor
> my local servers' disk, swap, load resources using snmp. Installed
> net-snmp net-snmp-devel, net-snmp-utils on all my machines.
> 
> $ cd /usr/local/nagios/libexec/check_netsnmp -H hostname -d disk
> Disk ok
> 
> but on nagios, it keeps on telling the error "no output!" and
eventually
> keeps nagging me with emails.

You have an error somewhere, either permissions or configuration. You
haven't provided enough information to tell which and I'm not familiar
with the check_netsnmp plugin. Where did you get it? It might be sending
output to STDERR. Try redirecting that in your command definition --

define command{	
	command_name ...
	command_line $USER1$/check_netsnmp -H $HOSTADDRESS$ -d disk 2>&1
}

> Is this a nagios bug?

99.9999999% chance it's not. 

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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