Page 1 of 1

check_rrdtraf is not getting right thresholds after mrtg fil

Posted: Mon Jul 29, 2019 2:00 pm
by ghattasjacob
Greetings,

I am running nagiosXI in an active network, where we change Bandwidth values of router interfaces very often.
After I change the BW value on router interface, what should be done for (check_rrdtraf) to get the right thresholds for warning and Critical thresholds?
I tried updating the mrtg file relevant for the device, restarting the service, restarting cron but still the values under Service Management -> $USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$ are not being updated to new relevant ones.
I will really appreciate it if you could shed some light on whatever should be done each time we change the BW as it is very crucial for system functionnality around here .

further more, is there any way I could get it done on a daily basis as we do those changes very often (we change bw and description on interfaces)?
10xs in advance.
Jacob

Re: check_rrdtraf is not getting right thresholds after mrtg

Posted: Tue Jul 30, 2019 5:00 pm
by cdienger
The services' configuration don't take their config parameters from mrtg so your best bet would be to delete the services and rerun the wizard again. Note that deleting a service doesn't remove the old mrtg configs or rrd files under /var/lib/mrtg/, /usr/local/nagios/share/perfdata/<hostname>/<servicedesc>.rrd, or /etc/mrtg/conf.d.