Home Directory Plugins Network Protocols HTTP check_http_nagios_python

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

check_http_nagios_python

Rating
0 votes
Favoured:
0
Hits
93951
Files:
FileDescription
check_http_nagios.pycheck_http_python for Python 2.4
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_http with Python HTTPLIB
This script realise a check_http as the basic Nagios check plugin but with some differences :

-was written with Python ( use Httplib and urllib2 )

-check the response ( keyword presence )



Dont forget to put a timeout in your httplib module :
-Edit /usr/lib/python2.4/httplib.py
-Go to def connect(self): function
-Add self.sock.timeout(xx) just before self.sock.connect
xx= number of seconds