check_telnet_welcome works great!

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 ]