[mrtg] target syntax problems.
    John 
    strgout at unixjunkie.com
       
    Thu Aug 14 06:07:15 MEST 2003
    
    
  
i have a perl script that is collecting all my data (via telnet/ssh) and 
sticking it into 2 hashs.
I would like to use one has for input and the other for output.
The problem is i don't understand what the correct format is for target
without using back quotes.
If i only use 1 var it works fine (well if fine means i only track half of
what i want).
example
target[thing]: 56
what i've tried is 
target[thing]: 56 235453
and 
target[thing]: 56&235453
and a few others i can't think of.
This is a sample of the .cfg 
Directory[thing]: thing
YLegend[thing]: Connections/sec
LegendI[thing]:  Connections:
LegendO[thing]:  Bytes TCP
ShortLegend[thing]: Conns/sec
WithPeak[thing]: ywmd
MaxBytes[thing]: 300000000
Options[thing]: growright, gauge, nopercent
Title[thing]: <H1> Connections for thing </H1>
Target[thing]: 1
PageTop[thing]: <H1> thing Connections </H1>
--
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