Problems with check_snmp add-on

Lee Azzarello lee at dropio.com
Thu Feb 26 23:22:15 CET 2009


On Thu, Feb 26, 2009 at 4:55 PM, Eric Chatham <echatham at broadvox.net> wrote:
> I got the Adtran to work with snmpwalk and get.  I would like to monitor "ifOperStatus.1," which is the status on interface 1.  I created this command & service
>
> # 'check_snmp_interface' command defintion
> define command {
>        command_name    check_snmp_interface
>        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -c $ARG3$
>        }
>
> define service{
>        host_name                       reach_media
>        service_description             INT1
>        check_command                   check_snmp_interface!<ip host>!<com string ro>!ifOperStatus.1!1:1
>        max_check_attempts              3
>        normal_check_interval           1
>        check_period                    24x7
>
> When I add the service into Nagios, I keep getting "check_snmp: Invalid critical threshold - ifOperStatus.1"

Double check your argument order between the command and service definitions.

-lee

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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