[mrtg] MRTG Graph against Single OID For Huawei MA5200-g

javedsher javedsher at gmail.com
Fri Mar 13 13:47:07 CET 2009


Hi Stave,

Thanks a lot Stave, I am very near to my goal coz  I am getting exact figure
of online users and also read
MTRG Docs , under graph as following

 Max  	Average  	Current
Users 	14166.0 	10924.0 	13831.0 

one thing more that I want to represent similar figures along Y legend which
showing,

680.0 ,

510.0 ,

240.0 ,

170.0 ,

0.0   ,

and also getting error in mrtg logs

2009-03-14 05:40:04 -- Use of uninitialized value in pattern match (m//) at
/usr/bin/mrtg line 1207.
2009-03-14 05:40:04 -- Use of uninitialized value in sprintf at
/usr/bin/mrtg line 1226.

current mrtg.cfg as following 
Target[online]:.1.3.6.1.4.1.2011.5.2.1.14.1.2.0&.1.3.6.1.4.1.2011.5.2.1.14.1.2.0:xxx at 192.168.1.1:::::2
PageTop[online]: <h1>BRAS-2</h1>
Unscaled[online]: ymwd
MaxBytes[online]: 80896
kMG[online]:,,
Title[online]: Users Online
LegendI[online]:  Users
LegendO[online]:
Legend2[online]:
YLegend[online]: Current Users
ShortLegend[online]:PPPOE Online
Options[online]:  nopercent,growright,bits,gauge,noo



S Shipway wrote:
> 
>> > I am getting is  12.kB/s while online users are 11131. Can I represent
>> exact
>> > figure of user under the graph and on the graph.
>> 
>> I believe
>> kMG[online]:,,
>> will do the job, if I am reading the docs correctly.
> 
> If using routers2 as the frontend, you will instead need something like:
> 
> routers.cgi*Options[online]: fixunit nopercent nototal nomax scaled
> ShortLegend[online]: &nbsp;
> YLegend[online]: Users
> 
> ...to get it displayed as 11131 as well as possible.  Routers2 does not
> support the kMG directive.
> 
> Steve
> 
>  
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
> 
> 

-- 
View this message in context: http://n2.nabble.com/MRTG-Graph-against-Single-OID-For-Huawei-MA5200-g-tp2462757p2473198.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.



More information about the mrtg mailing list