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

Directory Tree

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
7288
Files:
FileDescription
check_connect.batcheck_connect.bat
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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