[mrtg] warning: expected a number but got 'C:'

Stuart Kendrick skendric at fhcrc.org
Mon Feb 12 17:09:00 CET 2007


ahhh, but my 'snmpget' *is* using v2c ... that's the default for my 
net-snmp installation ...

--sk

Eric Brander wrote:
> 
> 
> On 2/11/07, *Stuart Kendrick* <skendric at fhcrc.org 
> <mailto:skendric at fhcrc.org>> wrote:
> 
>     hi,
> 
>     i'm trying to trend variables from WTCS's INFORMANT-STD MIB
> 
>     guru> snmpget -c public shiva .1.3.6.1.4.1.9600.1.1.1.1.2.2.67.58
>     INFORMANT-STD::lDiskPercentDiskReadTime."C:" = Gauge32: 0
>     guru>  snmpget -c public shiva .1.3.6.1.4.1.9600.1.1.1.1.6.2.67.58
>     INFORMANT-STD::lDiskPercentIdleTime."C:" = Gauge32: 99
>     guru>
> 
>     but when i include these in an MRTG config file:
> 
>     [...]
>     #### lDiskPercentDiskReadTime vs lDiskPercentIdleTime ####
>     Target[test-box_wtcsDiskReadTimeC:]:.1.3.6.1.4.1.9600.1.1.1.1.2.2.67.58&.1.3.6.1.4
>     .1.9600.1.1.1.1.6.2.67.58:public at shiva:::::2
>     MaxBytes[test-box_wtcsDiskReadTimeC:]:100
>     Options[test-box_wtcsDiskReadTimeC:]:gauge
>     [...]
> 
> 
>  
> Try it without the ::::2. Just a guess really, since your snmpget wasn't 
> using v2, you prob don't need v2 for mrtg either.
> 
> 
> -- 
> Eric Brander
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg



More information about the mrtg mailing list