[mrtg] Threshold problems with rrdtool

Diaz Velez, Carlos Manuel carlos.diaz at gedas.es
Tue Oct 4 12:00:09 MEST 2005


Hi all,
 
I installed a new server with Debian Sarge, mrtg 2.12.2 and rrdtool 1.2.10.
The mrtg works fine but not the threshold checking:
 
xarxa at noc2:~/utils/mrtg/cfg$ mrtg mrtg.cfg
WARNING: can't do threshold checking for target
gedab-mac3_-hssi5-0.17_traffic(i) -- No valid current data
WARNING: can't do threshold checking for target
gedab-mac3_-hssi5-0.17_traffic(o) -- No valid current data
 
Running the mrtg in debug mode:
 
xarxa at noc2:~/utils/mrtg/cfg$ mrtg --debug="log" mrtg.cfg
--log: Called:
RRDs::tune(/export/home/xarxa/www/gesred/bbdd/gedab-mac3_-hssi5-0.17_traffic
.rrd -a ds0:2304000 -a ds1:2304000 -d ds0:COUNTER -d ds1:COUNTER)
--log: Calling:
RRDs::update(/export/home/xarxa/www/gesred/bbdd/gedab-mac3_-hssi5-0.17_traff
ic.rrd, 1128418933:913273041:3596887415'')
--log: Called: RRDs::last()
--log: Called:
RRDs::fetch(/export/home/xarxa/www/gesred/bbdd/gedab-mac3_-hssi5-0.17_traffi
c.rrd,'AVERAGE','-s',1128418933,'-e',1128418933)
--log:   got: NaN/NaN
WARNING: can't do threshold checking for target
gedab-mac3_-hssi5-0.17_traffic(i) -- No valid current data
WARNING: can't do threshold checking for target
gedab-mac3_-hssi5-0.17_traffic(o) -- No valid current data
 
It seems that the mrtg update the rrdtool database with
1128418933:913273041:3596887415 but when fetch the database to do threshold
checking obtain the values NaN/NaN for the same timestamp.
How can i correct it?
 
Running the same mrtg.cfg without rrdtool, with the log format, the
threshold checking works fine.
 
Best regards,
 
Carlos
***************************************************************************
 
El correo corporativo de gedas iberia está protegido por 
Antigen de Sybari Software.  
Todo el correo se escanea con seis motores de antivirus de 
diferentes fabricantes de forma simultánea, multiplicando 
la protección del sistema. 
Para más información, e-security at gedas.es y www.sybari.com.

***************************************************************************

DISCLAIMER: Este mensaje contiene información propietaria 
de la cual parte o toda puede contener información confidencial
o protegida legalmente. Esta exclusivamente destinado al 
usuario de destino.
Si, por un error de envio o transmisión, ha recibido este mensaje 
y usted no es el destinatario del mismo, por favor, notifique
de este hecho al remitente.
Si no es el destinatario final de este mensaje no debe usar, 
informar, distribuir, imprimir, copiar o difundir este mensaje 
bajo ningún medio.

---------

DISCLAIMER: This e-mail contains propietary information some 
or all of which may be legally protected. It is for the intended 
recipient only. If an addressing or transmission error has 
misdirected this e-mail, please notify the author by replying to
this e-mail. If you are not the intended recipient you must not use,
disclose, distribute, copy, print or relay this e-mail.

***************************************************************************



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



More information about the mrtg mailing list