Website URL / URL Content
Posted: Mon Jul 10, 2017 12:14 pm
Hi,
I have created a website monitoring and expecting some content.
The website URL:
https://ws03.bpi.stil.dk/cxf/NationaleTestService/Ping
is returning (in the browser)
"
{
"status": "op"
}
"
And I write [ "status": "op" ] in the "Content String To Expect"
It becomes
"check_xi_service_http!-s " {"status":"op"}" -f ok -I 195.231.237.228 -u '/cxf/NationaleTestService/Ping' -S -p 443"
But Nagios returns a "not found" The string is there...
HTTP CRITICAL: HTTP/1.1 200 OK - string ' {status:op}' not found on 'https://ws03.bpi.stil.dk:443/cxf/Nation ... rvice/Ping' - 301 bytes in 0.074 second response time
What am I missing?
Best regards
/Jan
I have created a website monitoring and expecting some content.
The website URL:
https://ws03.bpi.stil.dk/cxf/NationaleTestService/Ping
is returning (in the browser)
"
{
"status": "op"
}
"
And I write [ "status": "op" ] in the "Content String To Expect"
It becomes
"check_xi_service_http!-s " {"status":"op"}" -f ok -I 195.231.237.228 -u '/cxf/NationaleTestService/Ping' -S -p 443"
But Nagios returns a "not found" The string is there...
HTTP CRITICAL: HTTP/1.1 200 OK - string ' {status:op}' not found on 'https://ws03.bpi.stil.dk:443/cxf/Nation ... rvice/Ping' - 301 bytes in 0.074 second response time
What am I missing?
Best regards
/Jan