Mrtg log file not updating

Posted by / 16-Dec-2017 03:25

Mrtg log file not updating

MRTG uses SNMP (Simple Network Management Protocol) to collect data, and SNMP uses UDP (User Datagram Protocol) to ship packets around.

UDP is connectionless (not guaranteed) unlike TCP where packets are tracked and acknowledged and, if needed, retransmitted.

MRTG interpolates the lost data to produce a smoother graph which is more accurate in cases of intermittent packet loss.

But with V2.8.4 and above, you can use the "unknaszero" option to produce whichever graph is best under the conditions typical for your network.

Well, the short answer is that when an SNMP query goes out and a response doesn't come back, MRTG has to assume something to put in the graph, and by default it assumes that the last answer we got back is probably closer to the truth than zero.

This assumption is not perfect (as you have noticed).

If its going to be a cron job thing how do l go about it. I got the website to respond and pulled the first intial information, however, MRTG is not updating. You don't have an interval set up, your config should be as shown below: # to get bits instead of bytes and graphs growing to the right Options[_]: growright, bits Run As Daemon: Yes Interval: 5 Logdir: /var/log/ Enable IPv6: no This will make the graphs update every 5 minutes.Try the following command to start: env LANG=C /usr/bin/mrtg /etc/----------------------------------------------------------------------- [email protected] Box:~$ Thoughts ?l am also having problems with mrtg and have tried your solution.It's a trade-off that happens to fail during a total outage.If this is an unacceptable trade-off, use the unknaszero option.

mrtg log file not updating-21mrtg log file not updating-27mrtg log file not updating-49

Use of uninitialized value $flags in recv at /usr/share/perl5/SNMP_line 857. l did run the command manually and it still retains the same message. I've only ever used mrtg on Red Hat/Cent OS servers, and a long time ago at that.

One thought on “mrtg log file not updating”