Changing Condition states for Http(s) checks
Posted: Wed May 25, 2011 3:52 am
Hello,
We have been using Nagios XI for well over a year now and so far everything worked great.
However recently we had a request to monitor certain website content that was behind a php based authentication. We used the NAGIOS XI Website Wizard for this. Whilst the authentication worked and the string for the content returned HTTP OK - HTTP/1.1 302 Moved Temporarily the status was on Green.
Now there was a planned maintence of the Website in question. Once the downtime came the status changed to HTTP OK - HTTP/1.1 302 Found, also Green
When it came back up it went back to its previous HTTP OK - HTTP/1.1 302 Moved Temporarily state.
The problem is that although the website was down and status change occured, the Condition was still UP and Green.
Now comes my question: is it possible to modify NAGIOS XI the change the Condition to DOWN when the status changes to HTTP OK - HTTP/1.1 302 Found.
I am no Linux expert so I am a bit lost when it comes to changing configuration settings per shell. Is there a easy way of doing so
Any help here would be helpfull, thanks
Knut Seifert
We have been using Nagios XI for well over a year now and so far everything worked great.
However recently we had a request to monitor certain website content that was behind a php based authentication. We used the NAGIOS XI Website Wizard for this. Whilst the authentication worked and the string for the content returned HTTP OK - HTTP/1.1 302 Moved Temporarily the status was on Green.
Now there was a planned maintence of the Website in question. Once the downtime came the status changed to HTTP OK - HTTP/1.1 302 Found, also Green
When it came back up it went back to its previous HTTP OK - HTTP/1.1 302 Moved Temporarily state.
The problem is that although the website was down and status change occured, the Condition was still UP and Green.
Now comes my question: is it possible to modify NAGIOS XI the change the Condition to DOWN when the status changes to HTTP OK - HTTP/1.1 302 Found.
I am no Linux expert so I am a bit lost when it comes to changing configuration settings per shell. Is there a easy way of doing so
Any help here would be helpfull, thanks
Knut Seifert