[mrtg] Re: logfile to rrdtool migration
IVO ALMEIDA
ivo.almeida at millenniumbcp.pt
Fri Dec 30 13:07:18 MET 2005
Hi,
I've an old mrtg implementation, based in logfiles, wich I migrated to mrtg 2.10.15.
Everything appears to be fine, and my new instalation is running well.
The problem is when I tried to convert my old logfiles to rrd.
I configure the cfg file as described in http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-rrd.html, but the result is:
[mrtg at rh-as-v4 nortel.old]$ mrtg --debug="base,rrd" eqsigchan.cfg
--base: Creating Lockfiles eqsigchan.cfg_l,eqsigchan.cfg_l_7209
--base: Reading Config File: eqsigchan.cfg
--base: Reading Interface Config cache
--base: Checking Config File
--rrd: found rrdtool in /usr/local/rrdtool/bin/rrdtool
--base: Loading RRD support
--base: Loading default Locale
--base: Starting main Loop
--base: Populate Target object by polling SNMP and external Datasources
--base: Act on Router/Target 5outsigch
--base: Get Current values: in:0, out:0, up:unknown, name:unknown, time:1135709606
--base: Create Graphics
--base: start RRDtool section
--base: maxi:30, maxo:30
--base: converting /var/www/html/mrtg-data/nortel.old/eqsigchan/5Outubro/5outsigch.log to RRD format
--rrd: converting /var/www/html/mrtg-data/nortel.old/eqsigchan/5Outubro/5outsigch.log
ERROR: Can only restore version >= 2 (Not 0001). Dump your old rrd using a current rrdtool dump.
ERROR: Cannot update /var/www/html/mrtg-data/nortel.old/eqsigchan/5Outubro/5outsigch.rrd with '1135709606:0:0' opening '/var/www/html/mrtg-data/nortel.old/eqsigchan/5Outubro/5outsigch.rrd': No such file or directory
ERROR: Cannot 'last' /var/www/html/mrtg-data/nortel.old/eqsigchan/5Outubro/5outsigch.rrd: opening '/var/www/html/mrtg-data/nortel.old/eqsigchan/5Outubro/5outsigch.rrd': No such file or directory
Use of uninitialized value in subroutine entry at /usr/bin/mrtg line 683.
Use of uninitialized value in subroutine entry at /usr/bin/mrtg line 683.
ERROR: Cannot 'fetch' /var/www/html/mrtg-data/nortel.old/eqsigchan/5Outubro/5outsigch.rrd: start time: unparsable time:
Any help?
By the way, I'm using mrtg with rrdtool in the same system with other cfg files with no problem.
Thanks
Ivo Almeida
Millennium
bcp Serviços
AVISO. Se receber um e-mail por engano, agradecemos devolução e aviso ao remetente ou para misaddressed.mail at millenniumbcp.pt e a sua eliminação sem reprodução. A mensagem e eventuais anexos são susceptíveis de conter informação sujeita a sigilo profissional, ao regime legal de protecção de dados pessoais, de direitos de autor ou outro, pelo que a sua divulgação depende de autorização do remetente. As opiniões emitidas não vinculam necessariamente o Grupo Banco Comercial Português. A mensagem foi filtrada por um detector de virus, pelo que o remetente e as empresas do referido Grupo não se responsabilizam por danos provocados por terceiros no sistema de informação do destinatário.
WARNING. If you believe that you received a misaddressed e-mail transmission, please return it to sender, notifying him/her of the misdelivery or inform misaddressed.mail at millenniumbcp.pt accordingly, and delete, do not use, disclose or keep its contents. The message or attachments, if any, may be subject to professional confidentiality, personal data protection, copyright or other legal disclosure restrictions, and, therefore, access by anyone else is subject to the sender's authorization. Any views expressed do not necessarily reflect those of Banco Comercial Português Group. A virus checker sweeps outgoing e-mail. Therefore, neither the sender nor the companies of the said Group accept any responsibility or liability whatsoever for any adverse effects on your systems or data arising from intercepted, corrupted or virus-infected 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