System performance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kgopiramesh

Re: System performance

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: System performance

Post by abrist »

Yes, 2.9 supports mod gearman. See the following doc:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
kgopiramesh

Re: System performance

Post 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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: System performance

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
kgopiramesh

Re: System performance

Post 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 ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: System performance

Post 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/
kgopiramesh

Re: System performance

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: System performance

Post 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/
Former Nagios employee
kgopiramesh

Re: System performance

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: System performance

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked