Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Check connect from windows host.

Rating
0 votes
Favoured:
0
Current Version
v0.03
Last Release Date
2018-02-28
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
2499
Files:
FileDescription
check_connect.batcheck_connect.bat
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Simple script for checking tcp/udp connect on windows host.
Script uses free utility portqry.exe from Microsoft. Link for downloading inside script.

Install.
1) Copy script in your dir (like c:nagios). Download portqry.exe from Microsoft and copy in your dir (like c:bin)
2) Add string to nsclient.ini in part [/settings/external scripts/scripts]
check_connect = C:nagioscheck_connect.bat ip-address protocol port1 port2 ... (up to 7 ports)
3) Restart nsclient++
4) Make nagios service (use check_nrpe) and restart nagios.
5) Enjoy