URL monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
abodage
Posts: 29
Joined: Tue Feb 16, 2016 1:45 am

URL monitoring

Post by abodage »

Hi Team,

While configuring URL monitoring I am getting "HTTP CRITICAL - No data received from host" status.

I am using following command,

Code: Select all

/usr/local/nagios/libexec/check_http -H abc123  -f ok -I xx.xx.xx.xx -u '/enoviafcs/servlet/fcs/about' -p 443


Thanks.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: URL monitoring

Post by rkennedy »

Is your host 'abc123', and is everything correct? What is the output of curl https://abc123/enoviafcs/servlet/fcs/about?
Former Nagios Employee
abodage
Posts: 29
Joined: Tue Feb 16, 2016 1:45 am

Re: URL monitoring

Post by abodage »

Hi,
Output of

Code: Select all

curl https://abc123/enoviafcs/servlet/fcs/about
is below:

Code: Select all

[root@xxxnagiosxi00 ~]# curl -I https://abc123.xxx.com/enoviafcs/servlet/fcs/about
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Fri, 10 Jun 2016 06:28:08 GMT
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: URL monitoring

Post by rkennedy »

abodage wrote:Hi,
Output of

Code: Select all

curl https://abc123/enoviafcs/servlet/fcs/about
is below:

Code: Select all

[root@xxxnagiosxi00 ~]# curl -I https://abc123.xxx.com/enoviafcs/servlet/fcs/about
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Fri, 10 Jun 2016 06:28:08 GMT
Can you adjust your command to use the full FQDN instead of just abc123 as you did in the CURL? For example -

Code: Select all

/usr/local/nagios/libexec/check_http -H abc123.xxx.com  -f ok -I xx.xx.xx.xx -u '/enoviafcs/servlet/fcs/about' -p 443
Former Nagios Employee
Locked