Page 1 of 1

Nagios version and its compatible Mod gearman

Posted: Wed Sep 11, 2019 1:14 pm
by satheesh19870819
Hello Team,

I am having two nagios core server one with 3.5 version and another one with 4.4 version .
i would like to use mod gearman for load balancing to two new server . Please help me with the compatible version of Modgearman for each nagios core mentioned above

Also it would be great if you can provide me a defined steps to install the same .

Re: Nagios version and its compatible Mod gearman

Posted: Wed Sep 11, 2019 2:06 pm
by benjaminsmith
Hello,

To use Mod Gearman 3 you'll need to be running Nagios Core 4.4.2 or higher.

Here is the documentation for integrating with Nagios XI. The steps are similar for Nagios Core.

Integrating Mod-Gearman with Nagios XI

Let us know if you have any other questions.

Re: Nagios version and its compatible Mod gearman

Posted: Tue Sep 17, 2019 10:05 am
by satheesh19870819
Kindly let me know is it impossible to use modgearman in nagios 3.5

Re: Nagios version and its compatible Mod gearman

Posted: Tue Sep 17, 2019 10:45 am
by benjaminsmith
Hello,

Yes. You can use Mod Gearman with Nagios 3.x.
mod-gearman-compatablie.png
Let me know if you have any other questions.

Re: Nagios version and its compatible Mod gearman

Posted: Wed Sep 18, 2019 7:33 am
by satheesh19870819
i want to know what version of Mod-gearman can be installed for nagios 3.5

Re: Nagios version and its compatible Mod gearman

Posted: Wed Sep 18, 2019 8:23 am
by scottwilkerson
** NOTE: Mod gearman is not a product/project of Nagios Enterprises, you may need to get support from the project creators for historical versions **

You can use the latest I believe but you have to configure with the --enable-nagios3-neb-module flag

From the projects Changes:

Code: Select all

3.0.0 Mon Sun Oct 30 19:49:24 CET 2016
          - introduce configure options --enable-naemon-neb-module, --enable-nagios3-neb-module and --enable-nagios4-neb-module
            to determine which neb module to build. This obsoletes mod-gearman 1.x and 2.x and
            combines both into mod-gearman 3.x.
          - support ipv6 in gearman_top and check_gearman
          - moved perfdata=all to separate option perfdata_send_all=yes
          - support multiple perfdata queues
          - fix crash when using nonexisting group in localhostgroup/localservicegroups (#100)
          - fix double escaping backslashes (#99)
          - add workaround for problem with hostchecks in naemon core

          *** MIGRATION NOTE: ***
          You have to change the neb module path after this update. There is no mod_gearman.o anymore but instead you have
          choose the right module of: mod_gearman_nagios3.o, mod_gearman_nagios4.o and mod_gearman_naemon.o
https://github.com/sni/mod_gearman/blob/master/Changes