Home Directory

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

Directory

salmonte1

Reviews(1)
bysalmonte1, October 11, 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 ]