Hello,
One of my co-workers decided it was time to put his google and thinking cap on and he found the plugin mod_gearman. In short this plugin makes distributed monitoring able to use passive checks because all are being forced from the central to the slaves instead of data passively being transfered to the main central.
My question in this is, did anyone ever try this plugin in a nagiosxi environment? Is this plugin type supported even? Perhaps tip and tricks when we are going to try this.
Nagiosxi + mod_gearman
Re: Nagiosxi + mod_gearman
I tried installing this a couple of months ago, but ran into issues with the libgearman packages being in conflict. DNX does most of the same stuff, and we've already got that tested and documented if you're interested.
http://library.nagios.com/library/produ ... ith-nagios
http://library.nagios.com/library/produ ... ith-nagios
Re: Nagiosxi + mod_gearman
The documentation you have provided looks interesting but i do have some questions:
1. Which ports need to be opened to get it to work
2. Is it possible to have specific check goto specific hostgroups/workers. For example for 1 customer i want to force the check but how does the dnx server know it has to go to that particular slave.
3. If i read the documentation right the installation that is there is only for nagiosxi. Is there some documentation regarding installing the client part on a core machine.
1. Which ports need to be opened to get it to work
2. Is it possible to have specific check goto specific hostgroups/workers. For example for 1 customer i want to force the check but how does the dnx server know it has to go to that particular slave.
3. If i read the documentation right the installation that is there is only for nagiosxi. Is there some documentation regarding installing the client part on a core machine.
Re: Nagiosxi + mod_gearman
Here's the firewall rule set by the install script1. Which ports need to be opened to get it to work
Code: Select all
iptables -I INPUT -p udp --dport 12480:12482 -j ACCEPTNo, to my knowledge DNX does not do this, but Mod Gearman can.2. Is it possible to have specific check goto specific hostgroups/workers. For example for 1 customer i want to force the check but how does the dnx server know it has to go to that particular slave.
The DNX doc will also work for a source install of Core. Just make sure the necessary plugins you need are also on the slave machines.3. If i read the documentation right the installation that is there is only for nagiosxi. Is there some documentation regarding installing the client part on a core machine.
Re: Nagiosxi + mod_gearman
Thanks for listing the ports.
Regarding question 2 though. If i have it right, i have to configure the central to be the master and the rest as slaves. What makes me wonder then is when i have a check for ping and i want to force it for host a which is on customers a network, what happens to host b which is on customers b network. Even the hosts om the same network as host a is. Do all hosts get a force check or still only that one? I know that this will only happen for that particular host with mod_gearman but that wasn't supported and gave errors while you tried it.
Regarding question 3. We use the apt-get installer. Since you used bold to specify the source installer does that mean it wont work on the apt-get installer?
Regarding question 2 though. If i have it right, i have to configure the central to be the master and the rest as slaves. What makes me wonder then is when i have a check for ping and i want to force it for host a which is on customers a network, what happens to host b which is on customers b network. Even the hosts om the same network as host a is. Do all hosts get a force check or still only that one? I know that this will only happen for that particular host with mod_gearman but that wasn't supported and gave errors while you tried it.
Regarding question 3. We use the apt-get installer. Since you used bold to specify the source installer does that mean it wont work on the apt-get installer?
Re: Nagiosxi + mod_gearman
Don't know on this one, this would be more of a question for the developers for DNX or Mod Gearman.What makes me wonder then is when i have a check for ping and i want to force it for host a which is on customers a network, what happens to host b which is on customers b network. Even the hosts om the same network as host a is. Do all hosts get a force check or still only that one?
Our quick-install script will not work with an apt install. DNX will work with an apt install, but you'll just have to set it up manually, according to their documentation.We use the apt-get installer. Since you used bold to specify the source installer does that mean it wont work on the apt-get installer?