|
Packit |
667938 |
MRTG-FAQ(1) mrtg MRTG-FAQ(1)
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
N?NA?AM?ME?E
|
|
Packit |
667938 |
mrtg-faq - How to get help if you have problems with MRTG
|
|
Packit |
667938 |
|
|
Packit |
667938 |
S?SY?YN?NO?OP?PS?SI?IS?S
|
|
Packit |
667938 |
MRTG seems to raise a lot of questions. There are a number of resources
|
|
Packit |
667938 |
apart from the documentation where you can find help for mrtg.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
F?FA?AQ?Q
|
|
Packit |
667938 |
In the following sections you'll find some additonal Frequently Asked
|
|
Packit |
667938 |
Questions, with Answers.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
W?Wh?hy?y i?is?s t?th?he?er?re?e n?no?o "?"@?@#?#$?$%?%"?" (?(m?my?y n?na?at?ti?iv?ve?e l?la?an?ng?gu?ua?ag?ge?e)?) v?ve?er?rs?si?io?on?n o?of?f M?MR?RT?TG?G???
|
|
Packit |
667938 |
Nobody has contributed a _?@_?#_?$_?%_?._?p_?m_?d file yet. Go into the
|
|
Packit |
667938 |
_?m_?r_?t_?g_?-_?2_?._?1_?7_?._?7_?/_?t_?r_?a_?n_?s_?l_?a_?t_?e directory and create your own translation file.
|
|
Packit |
667938 |
When you are happy with it send it to me for inclusion with the next
|
|
Packit |
667938 |
mrtg release.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
I?I n?ne?ee?ed?d a?a s?sc?cr?ri?ip?pt?t t?to?o m?ma?ak?ke?e m?mr?rt?tg?g w?wo?or?rk?k w?wi?it?th?h m?my?y x?xy?yz?z d?de?ev?vi?ic?ce?e.?.
|
|
Packit |
667938 |
Probably this has already been done. Check the stuff in the
|
|
Packit |
667938 |
_?m_?r_?t_?g_?-_?2_?._?1_?7_?._?7_?/_?c_?o_?n_?t_?r_?i_?b directory. There is a file called _?0_?0_?I_?N_?D_?E_?X in that
|
|
Packit |
667938 |
directory which tells what you can find in there.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
H?Ho?ow?w d?do?oe?es?s t?th?hi?is?s S?SN?NM?MP?P t?th?hi?in?ng?g w?wo?or?rk?k
|
|
Packit |
667938 |
There are many resources on the net that explain SNMP. Take a look at
|
|
Packit |
667938 |
this article from the Linux Journal by David Guerrero
|
|
Packit |
667938 |
|
|
Packit |
667938 |
http://www.david-guerrero.com/papers/snmp/
|
|
Packit |
667938 |
|
|
Packit |
667938 |
And at this rather long document from CISCO.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/snmp.htm
|
|
Packit |
667938 |
|
|
Packit |
667938 |
T?Th?he?e i?im?ma?ag?ge?es?s c?cr?re?ea?at?te?ed?d b?by?y M?MR?RT?TG?G l?lo?oo?ok?k v?ve?er?ry?y s?st?tr?ra?an?ng?ge?e.?.
|
|
Packit |
667938 |
Remove the *-{week,day,month,year}.png files and start MRTG again.
|
|
Packit |
667938 |
Using MRTG for the first time, you might have to do this twice. This
|
|
Packit |
667938 |
will also help when you introduce new routers into the cfg file.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
W?Wh?ha?at?t i?is?s m?my?y C?Co?om?mm?mu?un?ni?it?ty?y N?Na?am?me?e???
|
|
Packit |
667938 |
Ask the person in charge of your Router or try 'public', as this is the
|
|
Packit |
667938 |
default Community Name.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
M?My?y g?gr?ra?ap?ph?hs?s s?sh?ho?ow?w a?a f?fl?la?at?t l?li?in?ne?e d?du?ur?ri?in?ng?g a?an?n o?ou?ut?ta?ag?ge?e.?. W?Wh?hy?y ???
|
|
Packit |
667938 |
Well, the short answer is that when an SNMP query goes out and a
|
|
Packit |
667938 |
response doesn't come back, MRTG has to assume something to put in the
|
|
Packit |
667938 |
graph, and by default it assumes that the last answer we got back is
|
|
Packit |
667938 |
probably closer to the truth than zero. This assumption is not perfect
|
|
Packit |
667938 |
(as you have noticed). It's a trade-off that happens to fail during a
|
|
Packit |
667938 |
total outage.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
If this is an unacceptable trade-off, use the u?un?nk?kn?na?as?sz?ze?er?ro?o option.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
You may want to know what you're trading off, so in the spirit of
|
|
Packit |
667938 |
trade-offs, here's the long answer:
|
|
Packit |
667938 |
|
|
Packit |
667938 |
The problem is that MRTG doesn't know *why* the data didn't come back,
|
|
Packit |
667938 |
all it knows is that it didn't come back. It has to do something, and
|
|
Packit |
667938 |
it assumes it's a stray lost packet rather than an outage.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Why don't we always assume the circuit is down and use zero, which will
|
|
Packit |
667938 |
(we think) be more nearly right? Well, it turns out that you may be
|
|
Packit |
667938 |
taking advantage of MRTG's "assume last" behaviour without being aware
|
|
Packit |
667938 |
of it.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
MRTG uses SNMP (Simple Network Management Protocol) to collect data,
|
|
Packit |
667938 |
and SNMP uses UDP (User Datagram Protocol) to ship packets around. UDP
|
|
Packit |
667938 |
is connectionless (not guaranteed) unlike TCP where packets are tracked
|
|
Packit |
667938 |
and acknowledged and, if needed, retransmitted. UDP just throws
|
|
Packit |
667938 |
packets at the network and hopes they arrive. Sometimes they don't.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
One likely cause of lost SNMP data is congestion; another is busy
|
|
Packit |
667938 |
routers. Other possibilities include transient telecommunications
|
|
Packit |
667938 |
problems, router buffer overflows (which may or may not be congestion-
|
|
Packit |
667938 |
related), "dirty lines" (links with high error rates), and acts of God.
|
|
Packit |
667938 |
These things happen all the time; we just don't notice because many
|
|
Packit |
667938 |
interactive services are TCP-based and the lost packets get
|
|
Packit |
667938 |
retransmitted automatically.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
In the above cases where some SNMP packets are lost but traffic is
|
|
Packit |
667938 |
flowing, assuming zero is the wrong thing to do - you end up with a
|
|
Packit |
667938 |
graph that looks like it's missing teeth whenever the link fills up.
|
|
Packit |
667938 |
MRTG interpolates the lost data to produce a smoother graph which is
|
|
Packit |
667938 |
more accurate in cases of intermittent packet loss. But with V2.8.4
|
|
Packit |
667938 |
and above, you can use the "unknaszero" option to produce whichever
|
|
Packit |
667938 |
graph is best under the conditions typical for your network.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
A?AU?UT?TH?HO?OR?R
|
|
Packit |
667938 |
Tobias Oetiker <tobi@oetiker.ch>
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
2.17.7 2018-07-13 MRTG-FAQ(1)
|