Page 1 of 1

Gearman - Schedule Immediate Check / Flush frequency

Posted: Mon Jun 30, 2014 6:48 pm
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

Re: Gearman - Schedule Immediate Check / Flush frequency

Posted: Tue Jul 01, 2014 10:18 am
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

Re: Gearman - Schedule Immediate Check / Flush frequency

Posted: Tue Jul 01, 2014 6:20 pm
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

Re: Gearman - Schedule Immediate Check / Flush frequency

Posted: Wed Jul 02, 2014 12:12 pm
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. :(