|
|
Subject: RE: Problems with check_snmp command - msg#00037
List: network.nagios.plugins
> -----Original Message-----
> From: Hammerl, Harald (Harald)
> Sent: Mittwoch, 21. Januar 2004 17:04
> To: 'nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx'
> 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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
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
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: (no subject)
Hello,
On Mon, Jan 19, 2004 at 09:45:12AM -0500, Kevin Wood wrote:
> yes, you can create nagios plugins with bash scripting..
>
> -----Original Message-----
> From: Nicolae Tudor [mailto:2dor-hi6Y0CQ0nG0@xxxxxxxxxxxxxxxx]
> Sent: January 19, 2004 9:35 AM
> To: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> Subject: [Nagiosplug-help] (no subject)
>
> Hi everybody,
>
> could somebody tell me if i can use bash scripts with nagios?
yes, you can create nagios plugins with bash scripting..
Rasmus
-------------------------------------------------------
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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
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
Next Message by Date:
click to view message preview
check_udp problem?
I'm experiencing a problem with the check_udp plugin for nagios, I know a
UDP port is open and even tested it as such using NetCat, but when I use
check_udp it thinks that the port is closed. Is this a known issue?
Cheers,
Seth Yates
=======================================================
This message contains information that may be privileged or confidential and is
the property of the Cap Gemini Ernst & Young Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, you are
not authorised to read, print, retain, copy, disseminate, distribute, or use
this message or any part thereof. If you receive this message in error, please
notify the sender immediately and delete all copies of this message.
=======================================================
-------------------------------------------------------
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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
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
Previous Message by Thread:
click to view message preview
(no subject)
Hallo an alle,
kann mir jemanden sagen ob ich bash skripte mit Nagios verwenden kann?
(zweck monitoring)
N.T
--
+++ GMX - die erste Adresse für Mail, Message, More +++
Bis 31.1.: TopMail + Digicam für nur 29 EUR http://www.gmx.net/topmail
-------------------------------------------------------
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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
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
Next Message by Thread:
click to view message preview
RE: RE: Problems with check_snmp command
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-b/riWvew0gPQT0dZR+AlfA@xxxxxxxxxxxxxxxx]
Sent: January 22, 2004 3:59 AM
To: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx'
> 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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
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
-------------------------------------------------------
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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
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
|
|