Cannot find page title as Web URL content check
Should we be looking for content before or after login? (in this case same one word that cannot be found)
HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - string 'Siebel' not found on 'http://siebel.mydomain.com:80/service_eadsi' - 422 bytes in 0.007 second response time
Cannot find page title as Web URL content check
Re: Cannot find page title as Web URL content check
Can you post your check_command for us to look at?
Former Nagios Employee
Re: Cannot find page title as Web URL content check
$USER1$/check_http -H $HOSTADDRESS$ $ARG1$ (check_xi_service_http)rkennedy wrote:Can you post your check_command for us to look at?
- -s "Welcome back" -f ok -I 10.x.x.120 -u '/service_eadsi' -p 80 -a 'nagximon:mypassword'
This is NTLM authentication (I think)
Re: Cannot find page title as Web URL content check
Change "-f ok" to "-f follow" as the option you are using treats a 301/302 return code as a 200 return code.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Cannot find page title as Web URL content check
Have changed to "HTTP CRITICAL: HTTP/1.1 200 OK - string 'Welcome back' not found on 'http://siebel.konecranes.com:80/service_eadsi/' - 1545 bytes in 0.022 second response time"eloyd wrote:Change "-f ok" to "-f follow" as the option you are using treats a 301/302 return code as a 200 return code.
- must be because it cannot login via NTLM
Re: Cannot find page title as Web URL content check
So this is related to all of your other tickets then, and you need the ability to get past your authentication before Nagios can confirm functionality.
May I ask what you're trying to monitor exactly? If it's web server availability, then you are confirming that with a functional log in page.
May I ask what you're trying to monitor exactly? If it's web server availability, then you are confirming that with a functional log in page.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Cannot find page title as Web URL content check
Should I open the ticket via email to ask all the questions and concentrate on specific portal case (out of dozens we have to deal with)?eloyd wrote:So this is related to all of your other tickets then, and you need the ability to get past your authentication before Nagios can confirm functionality.
May I ask what you're trying to monitor exactly? If it's web server availability, then you are confirming that with a functional log in page.
Re: Cannot find page title as Web URL content check
Nagios support just started 8 minutes ago (they are in Central Time) so I would give them some time to catch up with your tickets. 
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Cannot find page title as Web URL content check
I opened one trying to get questions answered. (would close most of these once done)eloyd wrote:Nagios support just started 8 minutes ago (they are in Central Time) so I would give them some time to catch up with your tickets.
Re: Cannot find page title as Web URL content check
If you want to monitor the title of a web page, then you're going to use -r for Regex. -s will only work for content.
As for NTLM, this isn't going to work with check_http. It is basic auth only. If you still have questions, please post the full output of curl http://siebel.konecranes.com:80/service_eadsi/ -v-r, --regex, --ereg=STRING
Search page for regex STRING
Former Nagios Employee