Scheduled ping checks not executing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
d.ricks
Posts: 14
Joined: Wed Mar 23, 2016 3:43 pm

Re: Scheduled ping checks not executing

Post by d.ricks »

Advanced Tab for Ping Service:
PingService.png
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Scheduled ping checks not executing

Post by tgriep »

Try changing max_check_attempts for one of the services that is not working to 2 and see if the scheduler starts to function.
Can you login to the XI server as root, run the following and post the output?

Code: Select all

ps -ef
Be sure to check out our Knowledgebase for helpful articles and solutions!
d.ricks
Posts: 14
Joined: Wed Mar 23, 2016 3:43 pm

Re: Scheduled ping checks not executing

Post by d.ricks »

changing max check attempts to 2 did not fix the problem, I have also attached the output file from running ps -ef
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Scheduled ping checks not executing

Post by tgriep »

Do you have a Service Dependency setup for that service causing it to not run?
Be sure to check out our Knowledgebase for helpful articles and solutions!
d.ricks
Posts: 14
Joined: Wed Mar 23, 2016 3:43 pm

Re: Scheduled ping checks not executing

Post by d.ricks »

This is the service dependency setup:

define servicedependency {
host_name HOSTNAME
service_description Swap,Memory,Uptime,Cpu-Usage,Storage,Udeploy_Process,Controlm_Process,Siem_Process,Filesystem_Permission
dependent_host_name HOSTNAME
dependent_service_description Ping
execution_failure_criteria w,c
notification_failure_criteria w,c
}
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Scheduled ping checks not executing

Post by lmiltchev »

Is it possible that any of the "master" services (Swap,Memory,Uptime,Cpu-Usage,Storage,Udeploy_Process,Controlm_Process,Siem_Process,Filesystem_Permission) is in a WARNING or CRITICAL state? The dependent service (Ping) will not be actively checked if the master service is in a critical or warning state (per your service dependency config).

Code: Select all

execution_failure_criteria w,c
Be sure to check out our Knowledgebase for helpful articles and solutions!
d.ricks
Posts: 14
Joined: Wed Mar 23, 2016 3:43 pm

Re: Scheduled ping checks not executing

Post by d.ricks »

That was the issue, our templates were set up backwards, we wanted the services listed in service_description to be dependent on Ping instead of how it was set up where Ping was dependent on those services, after changing the servicedependency and templates, everything works as intended. Thanks for the help
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Scheduled ping checks not executing

Post by gormank »

I think if the ping check is on the host rather than a service, the host's services will by default be dependent upon the ping check.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Scheduled ping checks not executing

Post by lmiltchev »

@d.ricks, I am glad I was able to help! :) If you have any more questions/issues, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked