[mrtg] Re: IfHC Packets and Gifs

Rainer Bawidamann Rainer.Bawidamann at rz.uni-ulm.de
Tue Nov 14 11:34:20 MET 2000


In article <3.0.5.32.20001114092608.007fd940 at pop.hotkey.net.au>,
	martinr at hotkey.net.au (Martin Rheumer) writes:
> 
> I am running 2.8.6 mrtg because of approx 100 .html files still
> referencing .gif files. I would like to upgrade to 2.9.4. Does some
> have some script that can edit .html files and change all references
> to .png ?

You could use sed to replace every 'gif' by 'png' by this shell script:

  for i in *.html
  do
     cp $i $i.copy
     sed -e 's/gif/png/g' < $i.copy > $i
  done

(contact your local NT guru if you use NT instead of Unix)

> I am also trying to use the :::::2 reference for the IfHc counters. Is
> this support in mrtg 2.8.6 ? because I get an error backoff (:2) must
> be a number >= 1.0 at /SNMP_Session.pm line 117. when I run it..

SNMPv2c support was added in mrtg 2.9

Rainer
-- 
Rainer.Bawidamann at rz.uni-ulm.de

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