Here is my commands.cfg for check_snmp:

define command{
        command_name    check_port
        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o
$ARG2$ -r 1 -m RFC1213-MIB
}

Here is my services.cfg command:

define service{
        use                     local-service
        host_name               mir-user-2
        service_description     Port 1 status
        check_command           check_port!public!ifOperStatus.1
}

 Now this is for only ONE port , and if it goes down it says Critical which
is working fine.

I would love to monitor multiple ports together i.e lets say port 1 2 3 and
4 and if 4 is down it should be critical . In that case what would be my
commands.cfg and services.cfg

Can some one elaborate on how my commands.cfg and services.cfg should look
like ???


Thanks in adv
-- 
Anirudh Srinivasan
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to