[mrtg] Re: unknaszero

M.E. m.eldesoky at tedata.net
Mon Mar 24 09:49:56 MET 2003


On Monday 24 March 2003 10:43 am, George Chelidze wrote:
> Once again:
>
> definition_0:
> unknaszero - Log unknown data as zero instead of the default behaviour
> of repeating the last value seen. Be careful with this, often a flat
> line in the graph is much more obvious than a line at 0.
>
> definition_1: (from faq.html)
> The problem is that MRTG doesn't know *why* the data didn't come back,
> all it knows is that it didn't come back. It has to do something, and it
> assumes it's a stray lost packet rather than an outage.
>
> fact_0:
> when some interface is down, interface data isn't available and nas
> returns error "noSuchName", Options include "unknaszero", graphs do not
> update until interface is still up.
>
> The data is unknown at least in two cases:
>
> 1. data didn't came back
> 2. nas returned "noSuchName"
>
> according to definition_0 in both cases 0 should be graphed. fact_0
> shows the different action.

I use MRTG with RRDTool
I want to make the rrdtool to store ZERO instead of the famous NaN
Also, I want to graph the sum of multiple interfaces using the summing 
capability of MRTG, but when one of the interfaces is down ( or doesn't 
return data ) the porcess stops.
Does using unknaszero is the way to solve this problem, and gives me a way to 
make the sums ??

Again, my question is specific to using MRTG with RRDTool.

Regards
Mohamed Eldesoky

-- 
Person who say it cannot be done should not interrupt person doing it.  
--Chinese Proverb 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list