Hi, according to my humble opinion, this is not necessary, since when I do an snmpwalk for that oid , I receive for example 800.000 bps, which means that the router gives the correct value. I also checked this with a mib-viewer.
When I remove the rule $ifSpeed[$i] = ($ifSpeed[$i]/1000); I receive the real value, in this case 8000000, but with GAUGE32 before it, which causes it is not being translated to rrd. I also tried with cricket where the correct value is being given. Suggestions ? Greetings, Johan On Tue, 2004-06-29 at 17:50, Javier Szyszlican wrote: > Johan, > > We only use the default if the real IfSpeed is 0. > So please check if the router has correctly set the Bandwidth in each > interface. > > Also you may want to show me a snmpwalk of the IfSpeed OID against your > router. > > Javier > > johan wrote: > > Hi, > > > > I have problem in getting the correct inbound and outbound bandwidth in > > the discovering of the performance graphs. Apparently for some odd raeson he > > always gives > > the 128000 kbps, due to a rule in snmp_interfaces.inc.php : > > if ($ifSpeed[$i] == 0) $ifSpeed[$i] = 128; //default Speed Value > > > > I tried to remove it, and then he gives 56000bps as standard value. What > > I want is the real inbound/outbound bandwidth, i.e. the result of > > > > $ifSpeed = snmp_walk($ip,$rocommunity,".1.3.6.1.2.1.2.2.1.5"); > > > > Anybody know how I can fix this ? > > > > Greetings, > > Johan > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > jffnms-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jffnms-users ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
