Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_telnet.pl
2014-10-06
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
32274
File | Description |
---|---|
check_telnet.pl | check_telnet.pl |
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!
Parameters:
-H hostname/IP: of host to connect to gmetad/gmond on
-P Port: to connect to and retrieve XML
-C Command: command to execute when telnet connects
-M Match: String to match
-T Timeout: in seconds
Example (pattern matching):
When the connection to a Traverse BVE API server succeeds, the banner is "OK 200 Traverse BVE TCP Server v5.6 ready".
When the connection is NOT successful (API server is out of connections), the banner is "ERR Connection refused to (hostaddress):7661: max connections reached"
OK check:
check_telnet.pl -H hostaddress -P 7661 -M OK
OK: regex-string (OK) matches login banner.
Failed check:
check_telnet.pl -H hostaddress -P 7661 -M OK
CRITICAL: regex-string (OK) did not match login banner.
Reviews (0)
Be the first to review this listing!