monitor multiple port
Anirudh Srinivasan
srianirudh at gmail.com
Thu May 21 19:07:08 CEST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090521/e547b505/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- 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