[mrtg] Re: output to $STDERR w/2.9.2

Tobias Oetiker oetiker at ee.ethz.ch
Fri Oct 20 07:18:37 MEST 2000


Yesterday you sent me mail regarding [mrtg] Re: output to $STDERR w/2.9.2:

LV> 
LV> At 07:44 PM 10/19/2000 +0200, Alain Cremieux wrote:
LV> 
LV> >Larry Vaden a écrit :
LV> >
LV> > > Following an upgrade from MRTG 2.8.11 to 2.9.2, we are now getting output
LV> > > on $STDERR which we did not get when using 2.8.11, as in
LV> > >
LV> > > [root at ns2 bin]# ./mrtg fqdn.cfg > /dev/null
LV> > >  >>public at fqdn<<
LV> > >
LV> >
LV> >I had the same problem, and I solved it by removing the file mrtg.ok (my 
LV> >config
LV> >file was mrtg.cfg).
LV> >
LV> >Hope this helps.
LV> 
LV> That doesn't work in our case;  the message is emitted by sub 
LV> writeconfcache in lib/mrtg2/MRTG_lib.pm, but it is only emitted for Cisco 
LV> routers in which we are graphing CPU utilization and/or temperature, i.e. 
LV> is, for hosts for which we are using an OID.

this error is mine ... sorry ... this was some debug code
inadvertedly left in 2.9.2 when I released it ... 

just open the forl lib/mrtg2/MRTG_lib.pm find the string '>>' and
remove the whole statement ... print STDERR ... 

sorry
tobi

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


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