I know I could check for telnet on a known IP using other programs like:
nmap -A 192.168.0.1/32 -p 23
Or, look for open ports from 20 to 30 on host.example.com:
nc -z host.example.com 20-30
I need to create a batch file, since I think that is how NSClient++ works on Windows Server being monitored by Nagios. Currently I have CPU, Disk, Memory, NSClient, and PING being monitored but I need a Specific port that I can also Monitor.