mrtg.cfg unable to complete in 5 minutes
Posted: Mon Aug 17, 2015 2:05 pm
Dear Expert
We checked and found /etc/mrtg/mrtg.cfg unable to complete/process in 5 minutes, we want to edit cron.d in 9 minutes as below. Please let us know will it affect the value in graph? Assume one of link utilization is 100Mbps, when MRTG was 5 minutes interval it was plotting 100Mbps , if we change the interval to 9 minutes, values will remain to 100Mbps or will change to other value?
#*/5 * * * * root LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok --logging /var/log/mrtg.log
*/9 * * * * root LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok --logging /var/log/mrtg.log
Or in other case if our MRTG files is very small and we want to run mrtg in every 2 minutes instead of 5 minutes as completing less than 2 minutes, will it affect the values in graph?
Regards
We checked and found /etc/mrtg/mrtg.cfg unable to complete/process in 5 minutes, we want to edit cron.d in 9 minutes as below. Please let us know will it affect the value in graph? Assume one of link utilization is 100Mbps, when MRTG was 5 minutes interval it was plotting 100Mbps , if we change the interval to 9 minutes, values will remain to 100Mbps or will change to other value?
#*/5 * * * * root LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok --logging /var/log/mrtg.log
*/9 * * * * root LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok --logging /var/log/mrtg.log
Or in other case if our MRTG files is very small and we want to run mrtg in every 2 minutes instead of 5 minutes as completing less than 2 minutes, will it affect the values in graph?
Regards