mod_gearman with XI 5?
Posted: Tue Nov 17, 2015 3:26 pm
Is anyone successfully using mod_gearman (v2.1.5) with XI 5 or have you experienced issues (If so, what are they)?
Support for Nagios products and services
https://support.nagios.com/forum/
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)?
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,".\nCode: 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 restart