Nagios XI 2012R2.9
RHEL 6.5 x64
Manual Install
I have 6 MQ service checks for a host. Currently all is getting triggered around the same time and java process is causing a CPU spike in the client machine.
Question
1) How to configure Nagios to check 1 service after another just for the MQ checks
2) The checks should be 30 seconds apart.
Thanks
Scheduling Service check sequentially with delay
Scheduling Service check sequentially with delay
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: Scheduling Service check sequentially with delay
I don't think you can make this work with active checks. The only way you could do this, in my opinion, is via passive checks. You can set up your checks to run on a cron job at certain times.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Scheduling Service check sequentially with delay
We are using active checks only.
So how do we solve this problem? This could potentially cause lots of problems.
Ideally there should be a parameter for the host to define the service check delay.
So how do we solve this problem? This could potentially cause lots of problems.
Ideally there should be a parameter for the host to define the service check delay.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: Scheduling Service check sequentially with delay
That would be a Core feature that would need to be discussed. As it stands right now the only way to achieve something like that within the capabilities of Nagios would be as lmiltchev suggested and using scheduled passive checks. You might be able to write a custom scheduler that keeps track of the jobs and kicks them off as necessary, possibly using cron, and then have them write their results in the external command file.
Former Nagios employee