TCP check more than one port under one service config?
Posted: Mon Oct 16, 2017 3:17 pm
Hi,
When I create a service to check_tcp, I know I can use "-p 80" for $ARG1$, but would I be able to check multiple ports using the $ARG1$ parameter or $ARG2$?
$USER1$/check_tcp -H $HOSTADDRESS$ $ARG1$ and when I use "-p 80" for $ARG1$ parameter, it runs the command
$ /usr/local/nagios/libexec/check_tcp -H 10.155.58.26 -p 80
So this is good, but how can I configure to check multiple ports if that is possible.
thanks,
ik.
When I create a service to check_tcp, I know I can use "-p 80" for $ARG1$, but would I be able to check multiple ports using the $ARG1$ parameter or $ARG2$?
$USER1$/check_tcp -H $HOSTADDRESS$ $ARG1$ and when I use "-p 80" for $ARG1$ parameter, it runs the command
$ /usr/local/nagios/libexec/check_tcp -H 10.155.58.26 -p 80
So this is good, but how can I configure to check multiple ports if that is possible.
thanks,
ik.