Monitor webpage contents?

Hi,

I use nagios extensively but have only so far been monitoring ping and http.

Recently my server had a broken php configuration which meant all the php sites were blank. So nagios didnt spot this

Is there a module for checking an actual page image?

Thanks!
Dan

i think you could try using a telnet on port 80 and grepping the output for some known content… never did it though so it’s just an idea… :slight_smile:

Luca

check_http will connect to the specified website, and you can use the -r switch to “search the page for a regex STRING”. So if the page should contain the text “This website just rocks”, then search for that.