check_multi support

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

check_multi support

Post by SDohmen »

Is there by any chance some documentation about implementing check_multi in a (distributed) nagiosxi installation?

I ask because this check does several other checks displayed as 1. The problem however is that the performance data does not seem to be able to create graphs for this in the nagiosxi central we use.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: check_multi support

Post by mguthrie »

Not that we've written, here's what I found.
http://my-plugin.de/wiki/projects/check_multi/start
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: check_multi support

Post by SDohmen »

I had that one aswell and i got it fully working. The problem however is that the performance data isn't being used in the central.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: check_multi support

Post by mguthrie »

Is performance data being returned to the server at all? Below is an outline as to what is needed for performance data to work correctly.
http://docs.pnp4nagios.org/pnp-0.4/abou ... quirements
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: check_multi support

Post by SDohmen »

The data is being returned to the server but i have the feeling the broken performance graphs have to do with the data not being processed. As soon as i get the new central up and running i will retry this.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: check_multi support

Post by mguthrie »

Yeah, let us know what you find out. If there aren't any rrd files then you're not getting valid performance data. If you have rrd's but no graphs, then it's most likely a permissions issue.

http://support.nagios.com/wiki/index.ph ... h_Problems
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: check_multi support

Post by SDohmen »

I have configured the multi_check again with the new central and it seem it wants to create performance graphs but it cant because the data is being cut off:

On the slave i am getting the following data for 1 of the checks:

Code: Select all

check_multi::check_multi::plugins=6 time=0.177073 'perf-disk space::check_disk::/'=2558MB;9240;10395;0;11551 /lib/init/rw=0MB;200;225;0;251 /dev=0MB;196;221;0;246 /dev/shm=0MB;200;225;0;251 'perf-current users::check_users::users'=1;20;50;0 'perf-current load::check_load::load1'=0.000;5.000;10.000;0; load5=0.040;4.000;6.000;0; load15=0.070;3.000;4.000;0; svc-http::check_http::time=0.003670s;;;0.000000 size=453B;;;0
On the central i see the following:

Code: Select all

check_multi::check_multi::plugins=6 time=0.177073 perf-disk space::check_disk::/=2558MB;9240;10395;0;11551 /lib/init/rw=0MB;200;225;0;251 /dev=0MB;196;221;0;246 /dev/shm=0MB;200;225;0;251 perf-current users::check_users::users=1;20;50;0 perf-current load:
I thought the nrdp protocol isn't limited in what its sending to the central. It seems this is happening with multiple checks that all have long outputs.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: check_multi support

Post by mguthrie »

I'll have to take a look at that one. Not sure where exactly it's getting cut off, but your string is being cut off at exactly 255 bytes.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: check_multi support

Post by SDohmen »

To be sure i checked the slave results and they are all fine. The problem lies between the communication of the slave and central.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: check_multi support

Post by SDohmen »

Is there more information about this available?