Content match in the HTTP GET

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
stecino
Posts: 248
Joined: Thu Mar 14, 2013 4:42 pm

Content match in the HTTP GET

Post by stecino »

Hi All,

Is there a plugin, script where I can issue a GET command and content match in the page that was returned.

Thanks in advance.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Content match in the HTTP GET

Post by scottwilkerson »

check_http from standard nagios plugins package does this

Code: Select all

/usr/local/nagios/libexec/check_http -s "string_to_check" -H www.bar.com -u "/foo/content"
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked