mod_gearman with XI 5?
mod_gearman with XI 5?
Is anyone successfully using mod_gearman (v2.1.5) with XI 5 or have you experienced issues (If so, what are they)?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: mod_gearman with XI 5?
We have one mod gearman worker node (running all our mrtg checks) running successfully with XI 5. I'm not 100 % sure what version it is. I'll check tomorrow.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: mod_gearman with XI 5?
I have dealt with several customers running various versions of mod_gearman - our official recommendation is version 1.5.0, but I have had plenty of success with version 2.1.2 as well. Assuming that 2.1.5 isn't significantly different, i don't imagine you'll have problems.Is anyone successfully using mod_gearman (v2.1.5) with XI 5 or have you experienced issues (If so, what are they)?
-
larrydhelms
Re: mod_gearman with XI 5?
Their insturctions for Nagios 4, include downloading a shell script that upgrades/installs mod_gearman components however, the upgrade instructions for NagiosXI 5, and the mod_gearman instructions from Nagios Enterprises LLC, don't include instructions on how to install/upgrade mod_gearman that is compatible with XI 5.
Any help on how to do that would be MOST appreciated!
Thanks,
Larr.
Any help on how to do that would be MOST appreciated!
Thanks,
Larr.
Re: mod_gearman with XI 5?
Seems I'm on v1.1.8. Works perfect with XI 5.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: mod_gearman with XI 5?
We're currently at v1.4 and experiencing an issue with embedded Perl (error below) & ESXi checks. Will try upgrading to mod_gearman 1.5 and then current stable (v2.1.5) if issue remains.jolson wrote:I have dealt with several customers running various versions of mod_gearman - our official recommendation is version 1.5.0, but I have had plenty of success with version 2.1.2 as well. Assuming that 2.1.5 isn't significantly different, i don't imagine you'll have problems.Is anyone successfully using mod_gearman (v2.1.5) with XI 5 or have you experienced issues (If so, what are they)?
Code: Select all
**ePN /usr/local/nagios/libexec/check_esx3.pl: plugin did not call exit()\n**ePN /usr/local/nagios/libexec/check_esx3.pl: "Use of uninitialized value $opt in string eq at /usr/share/perl5/Getopt/Long.pm line 487,".\n
Last edited by TBT on Wed Nov 18, 2015 8:59 am, edited 1 time in total.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: mod_gearman with XI 5?
Good luck! Let us know how it works out for you. 
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: mod_gearman with XI 5?
As @WilliemDH mentioned - let us know the result of your upgrade and if you need more assistance. I will leave this thread open.
Former Nagios Employee
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: mod_gearman with XI 5?
For @jolson - you have setup Mod_Gearman 2.1.2 ?
Did you use the repo and yum install it? CentOS 6 or 7?
Did you get source and compile?
Was there any challenge or did it just go in place nicely?
Please advise. I am very interested in any words of wisdom.
Thanks
Steve B
Did you use the repo and yum install it? CentOS 6 or 7?
Did you get source and compile?
Was there any challenge or did it just go in place nicely?
Please advise. I am very interested in any words of wisdom.
Thanks
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
Re: mod_gearman with XI 5?
Steve,
Here's a script that I've used with success to install mod_gearman:
You'll also need to enable the NEB module - it should look something like this (modify nagios.cfg and add this line to the bottom):
Restart your services:
That's all she wrote! Let me know if the above procedure works for you - it worked on my lab box.
EDIT: fixed a few config typos.
Here's a script that I've used with success to install mod_gearman:
Code: Select all
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
yum install -y gcc autoconf automake libtool gcc-c++ libevent-devel libtool-ltdl libtool-ltdl-devel ncurses-devel e2fsprogs-devel boost-devel boost-program-options libevent perl
wget http://mod-gearman.org/download/v2.1.2/rhel6/x86_64/gearmand-0.33-2.rhel6.x86_64.rpm
wget http://mod-gearman.org/download/v2.1.2/rhel6/x86_64/gearmand-devel-0.33-2.rhel6.x86_64.rpm
wget http://mod-gearman.org/download/v2.1.2/rhel6/x86_64/gearmand-server-0.33-2.rhel6.x86_64.rpm
wget http://mod-gearman.org/download/v2.1.2/rhel6/x86_64/mod_gearman2-2.1.2-1.rhel6.x86_64.rpm
rpm -ivh gearmand-0.33-2.rhel6.x86_64.rpm
rpm -ivh gearmand-devel-0.33-2.rhel6.x86_64.rpm
rpm -ivh gearmand-server-0.33-2.rhel6.x86_64.rpm
rpm -ivh mod_gearman2-2.1.2-1.rhel6.x86_64.rpm
exit 0Code: Select all
broker_module=/usr/lib64/mod_gearman2/mod_gearman2.o server=localhost eventhandler=no hosts=yes services=yes config=/etc/mod_gearman2/module.confCode: Select all
service gearmand start
/etc/init.d/mod-gearman2-worker
service nagios restartEDIT: fixed a few config typos.