Hi All, I was given the job of getting a nagios system up and running at work. I have gotten to the point where I am monitoring everything fine at a basic level, between subnets using NSClient. However I am now being asked to monitor ports on remote machines to see if they are active e.g. TCP port 5500.
I have obtained the check_tcp.exe plugin and have successfully managed to call it via NRPE. The issue is I am unsure of how to give it commands to provide an output. I need to give it something along the lines of -H 192.168.X.X -p XXXX -w 200 -c 300 and pass the output back to the Nagios server.
Does anyone have a suggestion about how to implement this? It is my last hurdle in figuring out how to get it all running.