Page 2 of 2
Re: System performance
Posted: Fri May 23, 2014 2:52 am
by kgopiramesh
Thanks slansing for your reply,
can we implement the mod_gearman mechansim on the nagiosxi 2.9 version.
our version details : Nagios XI 2012R2.9 Copyright © 2008-2014 Nagios Enterprises, LLC.
Re: System performance
Posted: Fri May 23, 2014 12:22 pm
by abrist
Yes, 2.9 supports mod gearman. See the following doc:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Re: System performance
Posted: Tue May 27, 2014 6:40 am
by kgopiramesh
Hi,
I have gone through the document mentioned in last post, but it didn't specify the location for the mod_gearman software.
Do we have seperate software(for the neb module & remaining modules) for it or its as just a script? if it is a software, please let us know the path to download the same.
Re: System performance
Posted: Tue May 27, 2014 12:43 pm
by sreinhardt
Outside of the documents mention of configuration modification, the gearman software is installed and neb modules added to nagios via the script. The script handles all downloads and installation, again short of the manual modification outlined in the document.
Re: System performance
Posted: Wed May 28, 2014 1:08 am
by kgopiramesh
We are able to install the mod_gearman software with the provided document and guidelines. However we are experiencing some problem with the services.
We are using nagios to monitor the switch & router port status and bandwidth utilization, On the worker server also do we need to copy the mrtg.cfg service as we are receiving the checks status as unknown and .rrd files are not exist.
Please let us also know how we can assign particular host group services to nagios worker.
We could see that the nagios server is also working as worker process server? is that correct ?
Re: System performance
Posted: Wed May 28, 2014 9:48 am
by slansing
MRTG checks will be a little different, as they require their configuration file, once the checks are ran they should create RRD files which are read by check_rrdtraf on the XI server. You should be able to follow the basic guidelines here:
https://labs.consol.de/nagios/mod-gearman/
Re: System performance
Posted: Wed May 28, 2014 10:04 am
by kgopiramesh
I have gone through the document but that document didn't give great idea on how to distribute the checks. I have following queries
1 ) if we configure another server as mod_gearman worker in the same network, what shall we do to capture the bandwidth usage
2 ) how to assign the services manually to the worker process.
Thanks for your help
Re: System performance
Posted: Wed May 28, 2014 4:56 pm
by tmcdonald
1.) MRTG would need to be installed on the mod_gearman worker server in order for there to be any RRD for mod_gearman to read
2.) I would suggest reading through the mod_gearman documentation:
https://labs.consol.de/nagios/mod-gearman/
Re: System performance
Posted: Thu May 29, 2014 5:57 am
by kgopiramesh
Hi tmcdonald,
Mrtg installation is worked well for creating rrd files for bandwidth usage but still not sure about how we can separate checks to different worker process servers
for example, we have 4 host groups, I want them to assign one host group to each worker process server and I want some processes not to use mod_gearman and should use the local resource.
Let me know how to accomplish this.
Re: System performance
Posted: Thu May 29, 2014 1:09 pm
by scottwilkerson
These are items you would want to exclude from distributing to mod_gearman. You can do this by adding the MRTG bandwidth check services to a servicegroup, then modifying the /usr/local/etc/mod_gearman/mod_gearman_neb.conf on your XI server to contain the following changing NEW_SERVICEGROUP_NAME with the name of the servicegroup
Code: Select all
# sets a list of servicegroups which will not be executed
# by gearman. They are just passed through.
# Default is none
localservicegroups=NEW_SERVICEGROUP_NAME