Gearman - Schedule Immediate Check / Flush frequency

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Gearman - Schedule Immediate Check / Flush frequency

Post by rajasegar »

Nagios XI 2014R1.2
RHEL 6.5 x64
Offloaded DB
Manual Install
Firefox 30
Mod Gearman 1.4
gearman 0.25

Some gearman question

1) After installing gearman, schedule immediate check is not working.
Can you please advice how to check on this?

2) Where do I set the flush frequency? I saw it somewhere but cant find it.
The default is 900 seconds if I am not mistaken

3) How do I find out the version of mod_gearman I am running using command line?

Code: Select all

[nagios@nagiosprodxi1 bin]$ gearadmin --server-version
0.25
Thanks
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Gearman - Schedule Immediate Check / Flush frequency

Post by lmiltchev »

1) After installing gearman, schedule immediate check is not working.
Can you please advice how to check on this?
Have you tried restarting services?

Code: Select all

service nagios restart
service mod_gearman_worker restart
service gearmand restart
What do you see when you run gearman_top?
2) Where do I set the flush frequency? I saw it somewhere but cant find it.
The default is 900 seconds if I am not mistaken
I am not sure about this one. I've never seen such an option in the configs...
3) How do I find out the version of mod_gearman I am running using command line?
You can see the version, when you run "gearman_top", or you can run:

Code: Select all

/usr/bin/check_gearman -V
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Gearman - Schedule Immediate Check / Flush frequency

Post by rajasegar »

All of a sudden Schedule immediate check started working again yesterday. I did not restart anything.

Code: Select all

2014-07-02 07:15:13  -  localhost:4730   -  v0.25

 Queue Name           | Worker Available | Jobs Waiting | Jobs Running
-----------------------------------------------------------------------
 check_results        |               1  |           0  |           0
 eventhandler         |             100  |           0  |           0
 host                 |             100  |           0  |          11
 service              |             100  |           3  |          89
 worker_nagiosprodxi1 |               1  |           0  |           0
-----------------------------------------------------------------------
2) Where do I set the flush frequency? I saw it somewhere but cant find it.
The default is 900 seconds if I am not mistaken
I am not sure about this one. I've never seen such an option in the configs...
I am very sure there is but it is not in the config file.
I remember the default flush is 15 minutes and I changed it to 10 in Devt. Just can't remember where.
Hopefully someone has used this before.

Thanks for the version command, it shows both version.

Code: Select all

[nagios@nagiosprodxi1 ~]$ /usr/bin/check_gearman -V
check_gearman: version 1.4_nagios4 running on libgearman 0.25
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Gearman - Schedule Immediate Check / Flush frequency

Post by lmiltchev »

I am very sure there is but it is not in the config file.
If you find out where this is set, please, let me know. I was digging through the mod gearman documentation, but I was not able to find this option described anywhere. :(
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked