Page 1 of 1
How to monitor specific port number?
Posted: Fri Oct 13, 2017 4:02 pm
by ikekim
Without using the agent or plugin, how can I monitor target host's specific number i.e 192.168.9.2.1 port 9000 ?
thanks,
ik
Re: How to monitor specific port number?
Posted: Fri Oct 13, 2017 5:40 pm
by gormank
One way is to use CCM to create a host with that address, then create a service that uses check_tcp to check the port.
Re: How to monitor specific port number?
Posted: Sun Oct 15, 2017 6:40 pm
by ikekim
Okay that was an easy one. I found the plugin for the TCP check.
$ /usr/local/nagios/libexec/check_tcp -H 192.168.9.2.1 -p 9000
thanks.
Re: How to monitor specific port number?
Posted: Mon Oct 16, 2017 9:43 am
by kyang
Glad you found the answer. I'll be closing this topic as resolved!
If you have any more questions, feel free to create another thread!
Thank you for using the Nagios Support Forum!