Page 1 of 1

Alternative ??? to run bandwith checks on worker

Posted: Sat Aug 01, 2015 11:03 am
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

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

Posted: Sun Aug 02, 2015 11:47 pm
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.

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

Posted: Tue Aug 04, 2015 8:00 am
by bosecorp
thank you. you can close the ticket.

I will try that