Alternative ??? to run bandwith checks on worker

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Alternative ??? to run bandwith checks on worker

Post by bosecorp »

I am well aware that MRTG can not run on the workers. Well it could but that means I would have to share my MRTG files from the XI server to the worker and same for the MRTG config files.

is there any other alternative. doing the above seems too convoluted
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Alternative ??? to run bandwith checks on worker

Post by Box293 »

The worker and the XI server would need access to a common mounts for:
/etc/mrtg/
/var/lib/mrtg/
/usr/local/nagios/share/perfdata/

With this in place it means that:
Running the Network Switch Router wizard in XI will be able to place the mrtg configs in /etc/mrtg/conf.d/
The cron job on XI needs to be stopped and implemented on the worker
When nagios runs check_rrdtraf it will be able to access /var/lib/mrtg/ to update the XI rrd files in /usr/local/nagios/share/perfdata/

Thats about only way it can be done that I know of.

A slightly simpler way would be to prevent the check_rrdtraf checks from running on the worker (execute them locally on the XI server), generally speaking it's the cronjob that gets offloaded to a worker, but in that sense it's not really a worker, you're just offloading mrtg data collection.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Alternative ??? to run bandwith checks on worker

Post by bosecorp »

thank you. you can close the ticket.

I will try that
Locked