[mrtg] "at which time 'unknown' had been up for unknown"

Paul Vaillancourt paulvail at surf.sno.laurentian.ca
Tue Sep 17 22:23:11 MEST 2002


Good day.

I have just upgraded MRTG to the latest version (2.9.22). In the previous 
version (2.8.12), the header on the generated HTML page simply said "The 
statistics were last updated (date)". But now after the upgrade, the line 
"...at which time 'unknown' had been up for unknown"
was added to the header.

Why is it that this is being added when nothing else has been changed?

I am trying to remove that line. The code in the mrtg script that executes that 
line is:

if ($uptime && ! $$rcfg{options}{noinfo}{$router}) {
        print HTML
          ",<BR>\n"
        &$LOC("at which time $namestring had been up for <B>$uptime</B>.").
        "\n<!-- End Head -->";
   }
   
whereas that block was not getting executed before, but now it is.
Any help would be much appreciated.    
   

--
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