
Websites, Forms and Transactions
check_curl2
Description:
Check a web page contents for specific search terms. Built on check_curl posted here on Nagios Exchange by maestrx. Added capability to have output from webpage completely drive Nagios return codes.
Current Version
Last Release Date
June 22, 2009
Compatible With
Owner
Project Files
File | Description |
---|---|
check_curl.php | check_curl.php Script |
Project Notes
This modification to the check_curl allows for having a webpage
run your check code and return a status to Nagios. This way, if you have a remote process running on a webserver that needs to utilize some prebuilt code (maybe it talks to a database and runs specific queries that aren't directly accessible from your Nagios machine).
The webpage just needs to be written to return a line of status information so that Nagios can handle the condition and make the appropriate notification(s).
For Example:
Status: OK - There are 2 pending records in the queue.
or
Status: WARNING - There are 10 pending records in the queue.
or
Status: CRITICAL - There are 99 pending records in the queue.
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
104,347