Page 2 of 2
Re: check_http is never scheduled
Posted: Fri Dec 01, 2017 11:15 am
by vmesquita
I PMed you with both the Verify output and the screenshot previously requested. I tested after the procedure and the problem remains.
Re: check_http is never scheduled
Posted: Fri Dec 01, 2017 11:43 am
by kyang
Thanks for the information. I have shared it with the other techs.
I'm trying to figure out the reason for running two
-H
Code: Select all
/usr/local/nagios/libexec/check_http -H x -s "x" -H www3... -f ok -I
Is
ww3 an actual host? It doesn't compare to the same check_command you are using in the profile?
Code: Select all
check_xi_service_http!-s "x" -H <host> -f ok -I <IP> -u "<yourinput>" -p 80
You wouldn't need to define
-H since the check will automatically use the
host_name...
If you wanted to use -I for IP instead, then you could use
check_http. Since
check_xi_service_http uses -H
Re: check_http is never scheduled
Posted: Tue Dec 05, 2017 8:51 am
by vmesquita
Hi Kyang,
I removed the -H parameter, it's unneeded indeed. But unfortunatelly the problem remains...
www3 is actually a host name.
Also, can you please remove our domain name on your previous message?
Re: check_http is never scheduled
Posted: Tue Dec 05, 2017 2:19 pm
by lmiltchev
@vmesquita I sent you a PM.
Re: check_http is never scheduled
Posted: Wed Dec 06, 2017 10:40 am
by vmesquita
Hi lmiltchev!
I figured the issue. It turns out that it was not possible to ping the host due to some changes in routing, so it was shown as host down. Then the immediate service check as never schedule. I changed the host check to check_http, so the host was shown as up again, and the immediate check for the services was back working. Thanks for all help!
Re: check_http is never scheduled
Posted: Wed Dec 06, 2017 11:00 am
by kyang
Sounds good! Glad you found the issue.
Did you have any more questions or are we okay to close this thread?
Re: check_http is never scheduled
Posted: Wed Dec 06, 2017 12:42 pm
by vmesquita
You can close it. Thanks.
Re: check_http is never scheduled
Posted: Wed Dec 06, 2017 12:44 pm
by kyang
Sounds good! I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!