This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
hoegh
Posts: 201 Joined: Thu Jan 04, 2018 7:48 am
Post
by hoegh » Wed Feb 13, 2019 9:20 am
Hi team,
Configured Website monitorign as suggeted in below post.
https://support.nagios.com/forum/viewto ... 16&t=52314
Now the problem is, I'm getting Nagios Status Information as HTTP 200 OK, but Nagios is not generating Critical alerts even the site is not accessible.
Nagios configuration :
Code: Select all
check_http -H docmap.hoegh.com -u '/docmap/page/doc/dmDocIndex.html' -S --sni
Please explain the working of check_http or suggest any other plugin which can detect website down state as well.
Thanks & regards
Hoegh
Thanks
Höegh
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Wed Feb 13, 2019 11:13 am
hoegh wrote: Now the problem is, I'm getting Nagios Status Information as HTTP 200 OK, but Nagios is not generating Critical alerts even the site is not accessible.
What is nagios returning when site is not accessible?
hoegh
Posts: 201 Joined: Thu Jan 04, 2018 7:48 am
Post
by hoegh » Fri Feb 15, 2019 5:56 am
scottwilkerson wrote: What is nagios returning when site is not accessible?
HTTP OK: HTTP/1.1 302 Moved Temporarily - 674 bytes in 0.032 second response time.
Above status information is same for all the time irrespective of website's actual status.
Thanks
Höegh
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Fri Feb 15, 2019 7:54 am
hoegh wrote:
HTTP OK: HTTP/1.1 302 Moved Temporarily - 674 bytes in 0.032 second response time.
Above status information is same for all the time irrespective of website's actual status.
Ok this is a resirection. Add the following to the command to follow the redirection:
hoegh
Posts: 201 Joined: Thu Jan 04, 2018 7:48 am
Post
by hoegh » Thu Mar 07, 2019 6:18 am
Thanks Team.
Website monitoring added successfully. Please close this thread.
Thanks
Höegh
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Thu Mar 07, 2019 8:29 am
hoegh wrote: Thanks Team.
Website monitoring added successfully. Please close this thread.
Great!
Locking thread