Chad Whitten wrote:
> #!/bin/bash
> VALUE=`snmpget -Ov -cpaulbeard.org pink hrStorageUsed.6 | awk '{print $2}'`
> NEWVAL=`echo "$VALUE * 4" | bc`
> echo $NEWVAL
> 
> then in mrtg.cfg
> Target[name]:`/path/to/script/above`
> 
> that should work
> 

Yeah, I could go down that road, but I was sure mrtg could handle 
this internally.


-- 
Paul Beard
<http://paulbeard.no-ip.org/movabletype/>
whois -h whois.networksolutions.com ha=pb202

ADA, n.:
        Something you need only know the name of to be an Expert in
Computing.  Useful in sentences like, "We had better develop an ADA
awareness."

--
Unsubscribe mailto:[EMAIL PROTECTED]
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

Reply via email to