we have been given the task to monitor a website (hobit) which in turns monitors other websites. Now in itself this would be simple because the website only monitors RED or GREEN status (with a gif image)
On the website in question there are 50+ services, all with the same RED or GREEN gif. What I want to do is just copy some code from the HTML text and use that as content string for example
Code: Select all
"/hobbit-cgi/bb-hostsvc.sh?HOST=www.xxxxxxxxx.de&SERVICE=conn"><IMG SRC="/hobbit/gifs/static/green.gif". I need the http://www.xxxxxx.de as reference since there are mulitple websites, otherwise it would just check the HTML code for green.gif
The problem now is that when I do this I get an NAGIOS error. And when I look at the configuration string it chopped off either by ; or "
Is there any way I can get the content string as a whole into the wizard with all the sympols ";>< etc.?
Thanks for your help
EDIT: Forgot to add that we are using NAGIOS XI 2011 R1.1