Nagios not sending notification for URL
Posted: Wed Feb 06, 2019 1:39 am
Hello Team,
We are monitoring a URL through Nagios, this URL opens up with a pop-up asking for login credentials.
http://10.144.223.76/
When we configured URL monitoring for this, it was throwing error with error code 401.
So, we have changed its definition by adding error code 401 as exception.
Command view: $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ -t 30
$ARG1$: -f ok -I 10.144.223.76 -u '/' -p 80 -e 401
After making above changes, we were able to monitor the URL. We also tested it once by bringing down the URL manually for few mins and Nagios triggered alert for the same.
Yesterday, the URL went down as service was in hung state, but Nagios did not send any alert for it.
The URL was generating below error code:
"Request timed out waiting to execute" with error code 503.
The problem is, why Nagios did not capture that error and did not send the alert.
Kindly, look into this issue on priority and let us know what we are missing here.
We are monitoring a URL through Nagios, this URL opens up with a pop-up asking for login credentials.
http://10.144.223.76/
When we configured URL monitoring for this, it was throwing error with error code 401.
So, we have changed its definition by adding error code 401 as exception.
Command view: $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ -t 30
$ARG1$: -f ok -I 10.144.223.76 -u '/' -p 80 -e 401
After making above changes, we were able to monitor the URL. We also tested it once by bringing down the URL manually for few mins and Nagios triggered alert for the same.
Yesterday, the URL went down as service was in hung state, but Nagios did not send any alert for it.
The URL was generating below error code:
"Request timed out waiting to execute" with error code 503.
The problem is, why Nagios did not capture that error and did not send the alert.
Kindly, look into this issue on priority and let us know what we are missing here.