Mod Gearman Upgrade screws up nagios monitoring

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

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by rajasegar »

bheden wrote:
Does the script take care of the user credential that the mod gearman worker is running as?
It supposed to be nagios, mine ended up being naemon.
It does now!

The ModGearmanInstall.sh script (https://assets.nagios.com/downloads/nag ... Install.sh) has been updated to reflect the proper user, and gives you a user flag to override the default if necessary.

Other than that, the instructions located at https://assets.nagios.com/downloads/nag ... ios_XI.pdf are mostly relevant. I also changed the installation type flag to --type=worker or --type=server

We'll be updating the documentation shortly to reflect those changes.

Let us know how it goes. Thanks.
Thanks for the update. What about server + worker installation on the same server? Is there a flag for that?
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by Box293 »

The server install/upgrade automatically installs/upgrades a worker locally.

I'm in the process of updating the documentation and putting together some more documentation to more clearly explain workers and queues.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by rajasegar »

Box293 wrote:The server install/upgrade automatically installs/upgrades a worker locally.

I'm in the process of updating the documentation and putting together some more documentation to more clearly explain workers and queues.
Thanks Troy. It will greatly help if clear upgrade instructions that maintains the existing configuration is documented.
This includes upgrade from version 1 or 2 of mod_gearman.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by Box293 »

rajasegar wrote:Thanks Troy. It will greatly help if clear upgrade instructions that maintains the existing configuration is documented.
This includes upgrade from version 1 or 2 of mod_gearman.
Yes it will upgrade any version and will maintain the existing configuration (when the --upgrade flag is used). I'll make sure the documentation is clear that the existing configuration is maintained.

We'll let you know when it's done.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by Box293 »

Here is the updated document which references the updated script:

https://assets.nagios.com/downloads/nag ... ios_XI.pdf

Here is a new guide I wrote on Queues and Workers:

https://support.nagios.com/kb/article.php?id=484
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by rajasegar »

Looks good Troy thanks.

One question. Is it normal for all the worker_host queues to show 0 all the time.
How to confirm it is actually being executed in the target worker servers?
2016-03-09_09-20-24.jpg
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by Box293 »

Do you mean in the jobs waiting column?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by rajasegar »

Box293 wrote:Do you mean in the jobs waiting column?
Waiting and running. Always 0.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by Box293 »

I assume that because they are all being processed almost instantly, they never seem to appear and stay at 0.

Honestly I've only ever been able to get these numbers to change by stopping all the workers temporarily, at this point there is nothing to run the jobs so the numbers should start to climb from that point.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Upgrade screws up nagios monitoring

Post by rajasegar »

Box293 wrote:I assume that because they are all being processed almost instantly, they never seem to appear and stay at 0.

Honestly I've only ever been able to get these numbers to change by stopping all the workers temporarily, at this point there is nothing to run the jobs so the numbers should start to climb from that point.
Ok. Noted.
Thanks
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked