check_http is never scheduled
Re: check_http is never scheduled
I PMed you with both the Verify output and the screenshot previously requested. I tested after the procedure and the problem remains.
-
kyang
Re: check_http is never scheduled
Thanks for the information. I have shared it with the other techs.
I'm trying to figure out the reason for running two -H
Is ww3 an actual host? It doesn't compare to the same check_command you are using in the profile?
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
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 Code: Select all
check_xi_service_http!-s "x" -H <host> -f ok -I <IP> -u "<yourinput>" -p 80If you wanted to use -I for IP instead, then you could use check_http. Since check_xi_service_http uses -H
Last edited by kyang on Wed Dec 06, 2017 10:41 am, edited 1 time in total.
Reason: Removed sensitive info
Reason: Removed sensitive info
Re: check_http is never scheduled
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?
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
@vmesquita I sent you a PM.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_http is never scheduled
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!
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!
-
kyang
Re: check_http is never scheduled
Sounds good! Glad you found the issue.
Did you have any more questions or are we okay to close this thread?
Did you have any more questions or are we okay to close this thread?
Re: check_http is never scheduled
You can close it. Thanks.
-
kyang
Re: check_http is never scheduled
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!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!