Page 1 of 2
mod_gearman installation
Posted: Wed Sep 04, 2013 8:45 am
by kadams
Hello all. I am new to Nagios XI with all that entails.
I have setup XI in a virtual environment using the lastest VHD. Using the install document provided by Nagios, i was able to install mod_gearman on the XI guest. When it came time to install mod_gearman on another guest the install failed stating that libgearman was not found so there was nothing to do. The worker vm was just a plain centos install. Should i be using some other configuration for a worker machine?
Thanks much!
K
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 9:28 am
by slansing
Yes you should, the instructions for installing on a worker machine are a part of the document as well.
However you should not have a libraries issue, can you run the command to install on a worker again and let me know what the exact error is?
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 10:05 am
by kadams
Hey, thanks for the quick response. Attached you will find a screenshot of the installation.
The Nagios XI guest and the worker guest are on the same physical host server. XI install worked perfectly.
Also not, the CentOS version is 6.4 if that makes any difference. Basic install, nothing else added. The instructions in
that link you sent me are the ones that i used.
Thanks,
K
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 11:38 am
by slansing
Hmm odd.. you do have access to the yum repo's correct? When you run the following what does the CLI output?:
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 1:27 pm
by kadams
You can see the output of me running that command in the attached screenshot. I have no reason to believe i do not have access to the yum repositories. I am new to CentOS however so i may have done something wrong. I realize this may not be your purview but Is there a recommended base distro for running a gearman worker?
On the XI guest i tried the same command and it worked with no problem. So i have to believe the problem is with my installation.
K
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 1:36 pm
by kadams
It would probably help if i attached the picture.
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 2:17 pm
by lmiltchev
Can you run the following command and show us the output?
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 2:57 pm
by kadams
Here is the result.
Code: Select all
Not loading "blacklist" plugin, as it is disabled
Loading "fastestmirror" plugin
Loading "refresh-packagekit" plugin
Loading "security" plugin
Not loading "whiteout" plugin, as it is disabled
Config time: 0.011
Yum Version: 3.2.29
Loading mirror speeds from cached hostfile
* base: mirror.ubiquityservers.com
* extras: centos.mirrors.tds.net
* updates: ftpmirror.your.org
Setting up Package Sacks
pkgsack time: 0.009
Repo-id : base
Repo-name : CentOS-6 - Base
Repo-revision: 1362488530
Repo-updated : Tue Mar 5 08:04:41 2013
Repo-pkgs : 6,381
Repo-size : 5.1 G
Repo-mirrors : http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
Repo-baseurl : http://mirror.ubiquityservers.com/centos/6.4/os/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Wed Sep 4 10:58:01 2013)
Repo-id : extras
Repo-name : CentOS-6 - Extras
Repo-revision: 1371740476
Repo-updated : Thu Jun 20 11:01:17 2013
Repo-pkgs : 13
Repo-size : 9.1 M
Repo-mirrors : http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras
Repo-baseurl : http://centos.mirrors.tds.net/pub/linux/centos/6.4/extras/x86_64/
: (9 more)
Repo-expire : 21,600 second(s) (last: Wed Sep 4 10:58:01 2013)
Repo-id : updates
Repo-name : CentOS-6 - Updates
Repo-revision: 1378287917
Repo-updated : Wed Sep 4 06:22:07 2013
Repo-pkgs : 1,179
Repo-size : 3.0 G
Repo-mirrors : http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
Repo-baseurl : http://ftpmirror.your.org/pub/centos/6.4/updates/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Wed Sep 4 10:58:01 2013)
repolist: 7,573
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 3:35 pm
by lmiltchev
You will need the epel repo. You should've seen something like this in the output:
Code: Select all
Repo-id : epel
Repo-name : Extra Packages for Enterprise Linux 6 - i386
Repo-revision: 1378223124
Repo-tags : binary-i386
Repo-updated : Tue Sep 3 10:48:19 2013
Repo-pkgs : 7,927
Repo-size : 7.7 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=i386
Updated : Tue Sep 3 10:48:19 2013
Repo-baseurl : http://mirror.steadfast.net/epel/6/i386/ (42 more)
Repo-expire : 21,600 second(s) (last: Wed Sep 4 14:16:14 2013)
http://www.thegeekstuff.com/2012/06/ena ... epository/
Re: mod_gearman installation
Posted: Wed Sep 04, 2013 3:38 pm
by kadams
Thanks, I'll give that a go tomorrow!
K