1MRTG-FAQ(1)                          mrtg                          MRTG-FAQ(1)
2
3
4

NAME

6       mrtg-faq - How to get help if you have problems with MRTG
7

SYNOPSIS

9       MRTG seems to raise a lot of questions. There are a number of resources
10       apart from the documentation where you can find help for mrtg.
11

FAQ

13       In the following sections you'll find some additonal Frequently Asked
14       Questions, with Answers.
15
16   Why is there no "@#$%" (my native language) version of MRTG?
17       Nobody has contributed a @#$%.pmd file yet. Go into the
18       mrtg-2.17.7/translate directory and create your own translation file.
19       When you are happy with it send it to me for inclusion with the next
20       mrtg release.
21
22   I need a script to make mrtg work with my xyz device.
23       Probably this has already been done. Check the stuff in the
24       mrtg-2.17.7/contrib directory. There is a file called 00INDEX in that
25       directory which tells what you can find in there.
26
27   How does this SNMP thing work
28       There are many resources on the net that explain SNMP.  Take a look at
29       this article from the Linux Journal by David Guerrero
30
31        http://www.david-guerrero.com/papers/snmp/
32
33       And at this rather long document from CISCO.
34
35        http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/snmp.htm
36
37   The images created by MRTG look very strange.
38       Remove the *-{week,day,month,year}.png files and start MRTG again.
39       Using MRTG for the first time, you might have to do this twice. This
40       will also help when you introduce new routers into the cfg file.
41
42   What is my Community Name?
43       Ask the person in charge of your Router or try 'public', as this is the
44       default Community Name.
45
46   My graphs show a flat line during an outage. Why ?
47       Well, the short answer is that when an SNMP query goes out and a
48       response doesn't come back, MRTG has to assume something to put in the
49       graph, and by default it assumes that the last answer we got back is
50       probably closer to the truth than zero.  This assumption is not perfect
51       (as you have noticed).  It's a trade-off that happens to fail during a
52       total outage.
53
54       If this is an unacceptable trade-off, use the unknaszero option.
55
56       You may want to know what you're trading off, so in the spirit of
57       trade-offs, here's the long answer:
58
59       The problem is that MRTG doesn't know *why* the data didn't come back,
60       all it knows is that it didn't come back.  It has to do something, and
61       it assumes it's a stray lost packet rather than an outage.
62
63       Why don't we always assume the circuit is down and use zero, which will
64       (we think) be more nearly right?  Well, it turns out that you may be
65       taking advantage of MRTG's "assume last" behaviour without being aware
66       of it.
67
68       MRTG uses SNMP (Simple Network Management Protocol) to collect data,
69       and SNMP uses UDP (User Datagram Protocol) to ship packets around.  UDP
70       is connectionless (not guaranteed) unlike TCP where packets are tracked
71       and acknowledged and, if needed, retransmitted.  UDP just throws
72       packets at the network and hopes they arrive.  Sometimes they don't.
73
74       One likely cause of lost SNMP data is congestion; another is busy
75       routers.  Other possibilities include transient telecommunications
76       problems, router buffer overflows (which may or may not be congestion-
77       related), "dirty lines" (links with high error rates), and acts of God.
78       These things happen all the time; we just don't notice because many
79       interactive services are TCP-based and the lost packets get
80       retransmitted automatically.
81
82       In the above cases where some SNMP packets are lost but traffic is
83       flowing, assuming zero is the wrong thing to do - you end up with a
84       graph that looks like it's missing teeth whenever the link fills up.
85       MRTG interpolates the lost data to produce a smoother graph which is
86       more accurate in cases of intermittent packet loss.  But with V2.8.4
87       and above, you can use the "unknaszero" option to produce whichever
88       graph is best under the conditions typical for your network.
89

AUTHOR

91       Tobias Oetiker <tobi@oetiker.ch>
92
93
94
952.17.7                            2018-07-13                       MRTG-FAQ(1)
Impressum