[mrtg] Re: Is there an easy way to do a latency check?

paul beard paulbeard at mac.com
Sun Feb 3 23:16:33 MET 2002


write it to a text file and instead of doing an snmpget as your 
target, use `cat /path/to/yourfile.txt` as the target. this just 
means you can't run cfgmaker: you'll need to handcode the config 
file, but you should be able to use the sample stuff.

ping -c 2 -q somehost.com | tail -1 | awk -F/ ' { print $6 }' > 
/var/tmp/mrtg/somehost.com

then your config file would have Target[somehost]: 
`cat/var/tmp/mrtg/somehost.com`

there's more detailed examples in the FAQs as well the docs, but 
this should be enough to start with.

RCayton at horine.com wrote:

> yes i can do that but i want to graph the history into mrtg
> 
> Ryan Cayton
> Technical Analyst
> Horine and Associates, LLC.
> 
> 
> 



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