[mrtg] Re: Reverse 'Options[_]' for a single target

Steve Godfrey britsg at bristol-city.gov.uk
Wed Jun 19 15:21:35 MEST 2002


Thanks for the suggestion but I'd already tried this without success.

Basically the target is being multiplied by 8, this is being done by the global option at the start of the config file.

I've attached the config please tell me if you see anything which might be causing the problem.

The results I'm getting are being multiplied by eight.


Options[_]: growright
### Interface 1 >> Descr: 'Radio port' | Name: '' | Ip: '10.15.52.2' | Eth: '' ###
Options[WHCF-SignalStrength]: Gauge
Target[WHCF-SignalStrength]: .1.3.6.1.4.1.710.3.2.3.1.3.0&.1.3.6.1.4.1.710.3.2.3.1.3.0:public at 10.15.52.2:
SetEnv[WHCF-SignalStrength]: MRTG_INT_IP="10.15.52.2" MRTG_INT_DESCR="WHCF Signal strength"
MaxBytes[WHCF-SignalStrength]: 12.5
Title[WHCF-SignalStrength]: WHCF Signal Strength
PageTop[WHCF-SignalStrength]: </H1>WHCF Signal Strength</br>







>>> Inaki Sanchez <isanchez at unav.es> 06/19/02 01:03pm >>>
Hi Steve,

You have to set this

Options[_]:

before the definitions for the target, in order to reset the global
default options. If you have more targets with the bit option set below
this target, you have to set this again.

Regards,

--Inaki.

Steve Godfrey wrote:
> 
> Target[WHCF-SignalStrength1]: .1.3.6.1.4.1.710.3.2.3.1.3.0:&.1.3.6.1.4.1.710.3.2.3.1.3.0:public at 10.15.52.2: 
> 
> I'm using this target to graph wireless signal strength (using the same OID twice) but the ouput is being multiplied by 8 as I'm using the Options[_]: bits global parameter. How can I either reverse the 'bits' option for this target only or divide the OID's by 8?
> 
> I tried
> Target[WHCF-SignalStrength1]: .1.3.6.1.4.1.710.3.2.3.1.3.0:&.1.3.6.1.4.1.710.3.2.3.1.3.0 / 8:public at 10.15.52.2: 
> 
> but it failed.
> 
> Thanks
> 
> Steve
> 
> --
> 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

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