check_rrdtraf is not getting right thresholds after mrtg fil

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ghattasjacob
Posts: 7
Joined: Sat Jul 13, 2019 9:07 am

check_rrdtraf is not getting right thresholds after mrtg fil

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: check_rrdtraf is not getting right thresholds after mrtg

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked