Page 4 of 7
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Wed Mar 30, 2016 11:34 am
by lmiltchev
I believe the script is supposed to save your old configs to a different directory, remove old gearman packages, and install the new ones... I will have to check with our developers on that.
What is the exact command that you ran while trying to upgrade the worker?
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Wed Mar 30, 2016 12:07 pm
by lmiltchev
Update: I heard back from one of our developers, and he said:
Yeah, there is nowhere in the script to stop current running services. I'll put it on my list and have that issued out early next week
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Wed Mar 30, 2016 3:28 pm
by emartine
on the third worker I am now getting
Forbidden
You don't have permission to access /downloads/mod_gearman/v2.1.1/rhel6/x86_64/ on this server.
Apache/2.2.15 (CentOS) Server at assets.nagios.com Port 443
Seems like the site is down?
./ModGearmanInstall.sh --type=worker --upgrade
*******************************************************************************
Nagios Enterprises
Mod Gearman Installer Script
License:
Nagios Open Software License
Support:
XI Support Mailing List <
[email protected]> (customers only)
Community Forums <
http://support.nagios.com/forum/>
*******************************************************************************
Notices:
* Only run this script on a machine with no previous gearman installations
* Only run this script in server mode if the machine runs Nagios Core 4
* This script comes with absolutely no warranty, use it at your own risk
*******************************************************************************
*******************************************************************************
Downloading necessary packages...
--2016-03-30 15:04:28--
http://assets.nagios.com/downloads/mod_ ... x86_64.rpm
Resolving assets.nagios.com... 72.14.181.71
Connecting to assets.nagios.com|72.14.181.71|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
https://assets.nagios.com/downloads/mod ... x86_64.rpm [following]
--2016-03-30 15:04:28--
https://assets.nagios.com/downloads/mod ... x86_64.rpm
Connecting to assets.nagios.com|72.14.181.71|:443... connected.
HTTP request sent, awaiting response... No data received.
Retrying.
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Wed Mar 30, 2016 3:55 pm
by rkennedy
assets.nagios.com was running into issues over the past few hours, can you attempt to run it again? If not, can you post the full link you're trying to download?
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Wed Mar 30, 2016 4:02 pm
by bwallace
to add on to rkennedy's post:
CIDR: 72.14.176.0/20
NetName: LINODE-US
Linode reports connectivity issues this afternoon:
http://status.linode.com/
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Thu Apr 07, 2016 10:37 am
by emartine
I have installed gearmand and the workers. Seems like nagios won't start unless gearmand is running first.
The order in which they must start has apparently changed.
It went from:
1)nagios
2)gearmand
3)gearmand worker
to:
1)gearmand
2)nagios
3)gearmand worker
In that order.
?
Is this correct?
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Thu Apr 07, 2016 11:37 am
by emartine
I just noticed this... Seems like I have to configure the broker line for gearman as I am unable to submit commands through the XI interface. Any idea what might be going on here?
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Thu Apr 07, 2016 2:15 pm
by lmiltchev
Seems like I have to configure the broker line for gearman as I am unable to submit commands through the XI interface. Any idea what might be going on here?
Can you run the following commands and show the output?
Code: Select all
updatedb
locate mod_gearman2
grep gearman /usr/local/nagios/etc/nagios.cfg
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Thu Apr 07, 2016 2:18 pm
by emartine
]# updatedb
]# locate mod_gearman2
/etc/mod_gearman2
/etc/logrotate.d/mod_gearman2
/etc/mod_gearman2/module.conf
/etc/mod_gearman2/module.conf.rpmsave
/etc/mod_gearman2/worker.conf
/etc/mod_gearman2/worker.conf.rpmsave
/usr/bin/mod_gearman2_mini_epn
/usr/bin/mod_gearman2_worker
/usr/lib64/mod_gearman2
/usr/lib64/mod_gearman2/mod_gearman2.o
/usr/share/mod_gearman2
/usr/share/mod_gearman2/gearman_proxy.pl
/usr/share/mod_gearman2/mod_gearman_p1.pl
/usr/share/mod_gearman2/shared.conf
/usr/share/mod_gearman2/standalone_worker.conf
/var/mod_gearman2
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/checksum_data
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/checksum_type
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/checksum_type.tmp
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/command_line
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/from_repo
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/from_repo_revision
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/from_repo_timestamp
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/installed_by
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/reason
/var/lib/yum/yumdb/m/2dd1812ff6f2e571445dbb7f19b1d83db531be0a-mod_gearman2-2.1.1-1.el6-x86_64/releasever
/var/lock/subsys/mod_gearman2_worker
/var/log/mod_gearman2
/var/log/mod_gearman2/mod_gearman_neb.log
/var/log/mod_gearman2/mod_gearman_neb.log-20160403
/var/log/mod_gearman2/mod_gearman_worker.log
/var/log/mod_gearman2/mod_gearman_worker.log-20160403
/var/mod_gearman2/mod_gearman_worker.pid
]# grep gearman /usr/local/nagios/etc/nagios.cfg
broker_module=/usr/lib64/mod_gearman2/mod_gearman2.o config=/etc/mod_gearman2/module.conf eventhandler=no
Re: Nagios XI host check orphaned and duplicate nagios proce
Posted: Thu Apr 07, 2016 4:53 pm
by tgriep
The gearman server should be started before nagios so the nagios process can connect to the server.
Can you post this file so we can review it?
Are you getting any errors when you are submitting commands?
Can you post them?
Can you describe the steps you are doing to generate the error?