[Nagiosplug-help] RE: Problems with check_snmp command
Kevin Wood
kwood at exchangesolutions.net
Thu Jan 22 10:54:02 CET 2004
Does anyone use nagios compiled with postgres support???? I need to find out if it works or if I'm doing something wrong...
Any Help would be much appreciated
Kevin
-----Original Message-----
From: Hammerl, Harald (Harald) [mailto:hhammerl at lucent.com]
Sent: January 22, 2004 3:59 AM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] RE: Problems with check_snmp command
> -----Original Message-----
> From: Hammerl, Harald (Harald)
> Sent: Mittwoch, 21. Januar 2004 17:04
> To: 'nagios-users at lists.sourceforge.net'
> Subject: Problems with check_snmp command
>
> Hi to all,
>
> I've installed nagios for monitoring a networks with routers and switches.
> I try to use the check_snmp plugin to get information about system uptime.
> In the nagios service overview I only get a error message (Service Check
> Timed Out)
> Net:SNMP is installed on my server.
>
> If I try the OID with snmpget - 192.168.170.46 public .1.3.6.1.2.1.1.3.0 I
> get the correct output.
>
>
> How I have configured:
>
> ##Service definition:
> check_command check_snmp_uptime!public
>
> ##checkcommand
> # 'check_snmp_uptime' command definition
> define command{
> command_name check_snmp_uptime
> command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o
> .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is"
> }
> ##command
> command[check_netapp_uptime]=/usr/lib/nagios/plugins/check_snmp -H
> $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime
> is"
>
> If I use just a simple check command to check systemDescr. the cgi hangs
> /usr/lib/nagios/plugins # ./check_snmp -H 192.168.170.197 -o
> .1.3.6.1.2.1.1.1.0
>
>
>
>
> I've installed the following versions on my machine
>
> Nagios: 1.1-78
> Nagios-plugins: 1.3.1-77
> Net::SNMP: 4.1.0-50
>
>
>
> What is wrong in my configuration. Nagios works fine so far.
>
> Regards
>
> Harald Hammerl
>
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Help
mailing list