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

Eric Brander mailinglists at rednarb.com
Mon Feb 12 07:47:35 CET 2007


On 2/11/07, Stuart Kendrick <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070211/cd1fa333/attachment.html 


More information about the mrtg mailing list