Active Checks

check_telnet_welcome.py

Description:

Written in Python2.7 this plugin checks for the telnet Welcome Message. If the string you want is included, it returns SUCCESS, WARNING if the answer needs more than warning time, CRITICAL at time out (critical time) or host unreachable and UNKNOWN every time else. See the script for more explanation.

Current Version

1.0

Last Release Date

October 25, 2011

Compatible With

  • Nagios 3.x

License

GPL


Project Files
Project Notes
Reviews (1) Add a Review
check_telnet_welcome works great!
by salmonte1, October 31, 2013
We use this plugin to monitor a a welcome screen on a telnet session and it works great!

Required Python modules that might not be installed by default:
* argparse

Installation instructions:
https://pypi.python.org/pypi/argparse

Try one of these:

python setup.py install

easy_install argparse

pip install argparse

----
Example of check_command definition

Command Name: check_telnet
Command Line: $USER1$/check_telnet.py -H $HOSTADDRESS$ $ARG1$

Testing check from command line:
/usr/local/nagios/libexec/check_telnet.py -H telnetsession.com -P 23 -s "Welcome to the telnet session." -w 2 -c 4

Documentation:
usage: check_telnet.py [-h] -H -P -s
[-w ] [-c ]
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (1)
Favorites
1
Views
85,600