[Nagiosplug-help] Help required on setting up check_snmp with nagios

Madan Thapa madan.feedback at gmail.com
Sun Oct 14 22:49:22 CEST 2007


Hello,


Please advise the syntax with example on how to define check_snmp service in
windows.cfg



Additional details
###################################

1)  commad structure in commands.cfg for check_snmp

# 'check_snmp' command definition
define command{
        command_name    check_snmp
        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
        }



2) Manual check_snmp was successful from shell

[root at monitor libexec]#  ./check_snmp -H X.X.X.X -C public -o
.1.3.6.1.4.1.77.1.2.19.0 -u 'Server Users'
SNMP OK - 0 Server Users
[root at monitor libexec]#
[root at monitor libexec]#

where X.X.X.X = windows server


3) Please advise on this

#Monitoring SNMP
################
define service{
        use             generic-service         ; Inherit default values
from a template
        host_name              Win_Srv
        service_description     check_snmp
        check_command   check_snmp ( WHAT SHOULD BE HERE ?)
        }



Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20071015/0b35f604/attachment.html>


More information about the Help mailing list