check_snmp (External Command Error)
Davey, Jatin Kumar (Jatin Kumar)
jatin_kumar.davey at alcatel-lucent.com
Tue Mar 20 13:53:33 CET 2012
Hi All
I have the latest stable version of Nagios Core and Nagios Plugins installed in a CentOS 6.2 machine. While using the check_snmp in my object files I am getting the following error in the UI:
External command error: snmp_build: unknown failuresnmpget: Error building ASN.1 representation (Can't build OID for variable)
Text in the host file where I have defined the service is:
define service{
host_name Dslam-XXX
service_description XXXX:1-1-5-1
check_command check_xdsl_line!x.x.x.x!iso.3.6.1.2.1.2.2.1.8.134610945!xxx
max_check_attempts 5
check_interval 1
retry_interval 3
check_period 24x7
notification_interval 30
notification_period 24x7
contact_groups admins
}
Text in the commands file for the above used custom command is:
define command{
command_name check_xdsl_line
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ -c 1
}
Please let me know how to solve this issue.
Thanks
Jatin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120320/f16af85c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
-------------- next part --------------
_______________________________________________
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