Distributed Monitoring - Nagios 4.4.x+

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Distributed Monitoring - Nagios 4.4.x+

Postby delboy1966 » Thu Oct 25, 2018 5:16 am

I'm currently using mod_gearman for distributed monitoring, with one main Nagios server and 6 mod_gearman worker nodes.
All works pretty well for the size of environment we have, 3500+ hosts, 27000+ services.

However we are currently on Nagios 4.3.4 and haven't been update to upgrade to 4.4.x as mod_gearman does not work with 4.4.x.
I've been waiting for a new release of mod_gearman but have been waiting since June, https://github.com/sni/mod_gearman/issues/136.

I am now under pressure by my company to upgrade to 4.4.x so we don't fall to far behind releases.
But to upgrade to 4.4.x I would have to abandon distributed monitoring (not a good idea) or find a solution that works much like mod_gearman.

So just wondered if anyone had come across anything that works like mod_gearman.
I know there are other distributed solutions but they involve a lot more work than mod_gearman does.
I don't want to have to create instances of Nagios on other boxes and send passive check results back to the main Nagios server, I want to be able to maintain all my Nagios config files from the one box.
Mod_gearman is great in this way as it takes care of getting checks from the scheduling queue and sending results back.

Any advice/help would be appreciated.

Thanks
delboy1966
 
Posts: 85
Joined: Thu Oct 22, 2015 5:26 am

Re: Distributed Monitoring - Nagios 4.4.x+

Postby ssax » Thu Oct 25, 2018 4:48 pm

Currently mod_gearman is the go to, I don't really know anyone else running anything different at this time, you'll need to wait for the Core devs to get to it, they are aware of the customer need for this and have indicated that they intend to get to it soon.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ssax
Dreams In Code
 
Posts: 3376
Joined: Wed Feb 11, 2015 12:54 pm

Re: Distributed Monitoring - Nagios 4.4.x+

Postby Pradeeps » Thu Nov 08, 2018 9:03 am

Hello,

I am running nagios 4.34 and trying to install Mod_gearman. Can you suggest any link for the installation procedure please?
Pradeeps
 
Posts: 18
Joined: Thu Dec 22, 2016 11:05 am

Re: Distributed Monitoring - Nagios 4.4.x+

Postby delboy1966 » Thu Nov 08, 2018 9:26 am

Pradeeps wrote:Hello,

I am running nagios 4.34 and trying to install Mod_gearman. Can you suggest any link for the installation procedure please?


Look at one of my other threads, it gives some information on doing that.
delboy1966
 
Posts: 85
Joined: Thu Oct 22, 2015 5:26 am

Re: Distributed Monitoring - Nagios 4.4.x+

Postby Pradeeps » Thu Nov 08, 2018 12:10 pm

Thanks for the response. I have got some information from your post and installed it but for some reason, nagios fails loading the module.

Error message:

Nov 08 17:01:57 nagios-core.bxi.lan nagios[18197]: Error: Could not load module '/usr/lib64/mod_gearman2/mod_gearman2.o' -> /usr/lib64/mod_gearman2/mod_gearman2.o: undefined symbo...heck_attempt
Nov 08 17:01:57 nagios-core.bxi.lan nagios[18197]: Error: Failed to load module '/usr/lib64/mod_gearman2/mod_gearman2.o'.


Since you have experience in making it work, can you shed some light on what I am missing?
Pradeeps
 
Posts: 18
Joined: Thu Dec 22, 2016 11:05 am

Re: Distributed Monitoring - Nagios 4.4.x+

Postby ssax » Thu Nov 08, 2018 5:28 pm

Pradeeps, you likely want to create your own forum thread for this if you're having issues.

What version of Nagios Core are you running?

Code: Select all
/usr/local/nagios/bin/nagios -V
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ssax
Dreams In Code
 
Posts: 3376
Joined: Wed Feb 11, 2015 12:54 pm

Re: Distributed Monitoring - Nagios 4.4.x+

Postby Pradeeps » Fri Nov 09, 2018 10:11 am

Sure. I thought so. I will create a new one for this.

Code: Select all
/usr/sbin/nagios -V

Nagios Core 4.3.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2017-08-24
License: GPL


Interesting thing it the version shows 4.3.4 but i installed 4.4.2 where looking at the nagios frontend it shows the same. So not sure why the cli shows 4.3.4
Pradeeps
 
Posts: 18
Joined: Thu Dec 22, 2016 11:05 am

Re: Distributed Monitoring - Nagios 4.4.x+

Postby ssax » Fri Nov 09, 2018 4:38 pm

Code: Select all
So not sure why the cli shows 4.3.4


I wonder if it didn't get all the way upgraded and that's why it's failing. Try the stuff I posted in the other thread (installing 4.2.4 and reinstalling gearman) to see if it resolves the issue.

If you get any errors during the install, please post them for us to review in the other post.

Thank you
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ssax
Dreams In Code
 
Posts: 3376
Joined: Wed Feb 11, 2015 12:54 pm


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 15 guests