[mrtg] Re: Cisco SNMP OID error
Charles Wolfe
wolfec at georgetown.edu
Tue Oct 10 14:02:01 MEST 2006
Try something like this.
Target[BUILDING_X-WIRELESS-USERS]:
1.3.6.1.4.1.9.9.273.1.1.2.1.1.1&1.3.6.1.4.1.9.9.273.1.1.2.1.1.1:<community_string>@X.X.X.X
MaxBytes[BUILDING_X-WIRELESS-USERS]: 600
Title[BUILDING_X-WIRELESS-USERS]: Total for BUILDING_X
PageTop[BUILDING_X-WIRELESS-USERS]: <H1>BUILDING_X Wireless users.
</H1>
Unscaled[BUILDING_X-WIRELESS-USERS]: dwmy
Options[BUILDING_X-WIRELESS-USERS]: growright, nopercent,
integer,absolute,gauge
Ylegend[BUILDING_X-WIRELESS-USERS]: Active Wireless Users
ShortLegend[BUILDING_X-WIRELESS-USERS]: Users
Legend1[BUILDING_X-WIRELESS-USERS]: Active Wireless Users
Legend2[BUILDING_X-WIRELESS-USERS]:
Legend3[BUILDING_X-WIRELESS-USERS]: 5 minute Average Active Wireless Users
LegendI[BUILDING_X-WIRELESS-USERS]: Users:
LegendO[BUILDING_X-WIRELESS-USERS]:
Colours[BUILDING_X-WIRELESS-USERS]:
GREEN#00eb0c,GREEN#00eb0c,VIOLET#ff00ff,GREEN#00eb0c
WithPeak[BUILDING_X-WIRELESS-USERS]: ymw
-Chuck
PAUL WILLIAMSON wrote:
>>>> "Ahmer Zakir" <azakir at kfupm.edu.sa> 10/10/06 2:45 AM >>>
>>>>
>> Hello,
>> I am trying to graph an SNMP OID 1.3.6.1.4.1.9.9.509.1.5.2 (number of users)
>> using MRTG but it is not graphing anything. I am sure that this OID is
>> correct and I can use other tools to get the correct value. However, using
>> MRTG I can see an error message in the event viewer saying
>>
>> Target[10.150.0.11][_OUT_] '1.3.6.1.4.1.9.9.509.1.5. $target->[95]{$mode} '
>> evaluated to '
>>
>> ǽ0' instead of a number.
>>
>
> What happens when you query that OID with snmpget? If it is less than 300,
> the response you're getting makes sense. Remember that MRTG divides all
> responses by 300 to get bytes (or bits) per second - within a 5 minute window.
>
> Paul
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://lists.ee.ethz.ch/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
>
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list