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

check_curl2

Rating
0 votes
Favoured:
0
Hits
104276
Files:
FileDescription
check_curl.phpcheck_curl.php Script
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.
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.