Re: IF-MIB query doesn't work on my board running net-snmp 5.7.3 - Help??

2016-11-12 Thread Bill Fenner
I think your problem is that you are trying to apply three different views to one group: #context sec.model sec.level match read write notif access MyROSystem "" any noauthexact system none none access MyROSystem "" any noauthexact intf none no

Re: IF-MIB question

2011-08-12 Thread Dave Shield
On 9 August 2011 14:17, Johan Huysmans wrote: > It seems that the information of the vlan interfaces (4-5-6) are > included in the main interface (2). > Is this correct? The information provided by the Net-SNMP agent is essentially whatever is reported by the underlying operating system. If y

Re: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-06 Thread Garrett Cooper
On Sat, Aug 6, 2011 at 3:11 AM, Dheeraj Gautam wrote: > >> A quick google search says that you need to use ethtool ( >> http://www.cyberciti.biz/faq/howto-determine-ethernet-connection-speed/ >> ), but there are other ways to determine the necessary details by >> blasting ioctls, etc. > > Ethtool

RE: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-06 Thread Dheeraj Gautam
> A quick google search says that you need to use ethtool ( > http://www.cyberciti.biz/faq/howto-determine-ethernet-connection-speed/ > ), but there are other ways to determine the necessary details by > blasting ioctls, etc. Ethtool didn't provided much data. mii-tool provide some more data. it

Re: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-05 Thread Garrett Cooper
On Fri, Aug 5, 2011 at 11:32 AM, Dheeraj Gautam wrote: >> >>    What does ifconfig for your interface say? >> > Following the output of ifconfig on my system. > 0=> bonded interface > eth0 => physical interface > eth1 => slave interface > > [admin@qa04 ~]# ifconfig 0 > 0         Link encap:Etherne

RE: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-05 Thread Dheeraj Gautam
> >What does ifconfig for your interface say? > Following the output of ifconfig on my system. 0=> bonded interface eth0 => physical interface eth1 => slave interface [admin@qa04 ~]# ifconfig 0 0 Link encap:Ethernet HWaddr 00:13:CC:01:91:3B inet addr:10.9.1.1 Bcast:10.9.1.2

Re: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-01 Thread Garrett Cooper
On Sat, Jul 23, 2011 at 9:00 AM, Dheeraj Gautam wrote: > Hi, > > On our system we added bonded interface with link-agg-layer3+4 mode and > bonded two 1G Ethernet interfaces to the bond. But IF-MIB::ifSpeed is showing > as 10Mbps only. > > IF-MIB::ifSpeed.10 = Gauge32: 1000 > > We expected th

Re: IF-MIB::ifSpeed shows wrong value for bonded interface

2011-08-01 Thread Dave Shield
On 23 July 2011 17:00, Dheeraj Gautam wrote: > On our system we added bonded interface with link-agg-layer3+4 mode and bonded > two 1G Ethernet interfaces to the bond. But IF-MIB::ifSpeed is showing as > 10Mbps only. > We are using Net-SNMP version 5.3.1 That's a very old version of the agent.

Re: if-mib

2010-02-11 Thread Luis Alexandre D. Brandão
Ah! So the problem is not that the new entry appears - it is that the old entry is not deleted when the interface goes down, yes? Thanks, Mike Yes, deleting the old one when one tun go down could fix my problem, but it would be even better if when the interface come b

RE: if-mib

2010-02-10 Thread Mike Ayers
> From: "Luis Alexandre D. Brandão" > [mailto:alexandre.bran...@webers.com.br] > Sent: Wednesday, February 10, 2010 2:58 AM > Each time a tun falls and rises again, a new entry > appears in the > if-MIB, and it even has the same description! > >

Re: if-mib

2010-02-10 Thread Luis Alexandre D. Brandão
2010/2/9 Mike Ayers : Each time a tun falls and rises again, a new entry appears in the if-MIB, and it even has the same description!        OK, that sounds *good* to me...        Not sure what the problem is.  PLease clarify. What

Re: if-mib

2010-02-10 Thread Thomas Anders
Dave Shield wrote: > I've got a vague recollection of a suggestion that this behaviour should > be controlled by a configure option, but it's not immediately apparent > whether this was ever done. It has been discussed, but has *not* been implemented, IIRC. > The one thing that confuses me is tha

Re: if-mib

2010-02-10 Thread Dave Shield
2010/2/9 Mike Ayers : >> Each time a tun falls and rises again, a new entry appears in the >> if-MIB, and it even has the same description! > >        OK, that sounds *good* to me... >        Not sure what the problem is.  PLease clarify. What this sounds like to me, is a situation where the inde

RE: if-mib

2010-02-09 Thread Mike Ayers
> From: "Luis Alexandre D. Brandão" > [mailto:alexandre.bran...@webers.com.br] > Sent: Friday, February 05, 2010 5:40 AM > Someone has already found a solution to the problem of when the > interfaces go up and down? Nope. Mine go up and down all the time, especially when I reboot. > Eac

Re: If-Mib modification

2009-11-18 Thread Wes Hardaker
> On Mon, 16 Nov 2009 20:17:09 +0530, sanjaykumar > said: s> I need to modify the if-mib the way it is implemented. You could do that if you like, and the code you'd need to modify would be in agent/mibgroup/if-mib -- Wes Hardaker Cobham Analytic Solutions

Re: IF-MIB under netsnmp-5.4.2.1

2009-04-22 Thread Dave Shield
2009/4/22 sanjaykumar : >     I am going through the IF-MIB implementation under netsnmp-5.4.2.1 > I find it read the /proc/net/dev file > What will happen on the embedded device ? > Does it list out all the interface present on the device ? > Or it will read only the interface under the ethernet c

RE: IF-MIB population

2008-04-25 Thread Ron Rader
> From: Ron Rader > How does the agent determine the state of ifAdminStatus and > ifOperStatus? Is there another /proc file that reflects the state of > these interfaces, not simply their existence? I wanted to update the list with my progress (answering my own questions!) and hopefully clos

Re: IF-MIB Solaris 9/SPARC

2007-08-10 Thread Anders Persson
Hi Joe, I just tested net-snmp 5.4.1 on a sun4u system running Solaris 9 and it worked for me (I used --with-mib-modules="if-mib" --enable-mfd-rewrites). Could you run the agent with '-D access:interface' and email me whatever the output is? Thanks, Anders Joe Gainey wrote: > I've seen one ot

Re: IF-MIB Solaris 9/SPARC

2007-07-31 Thread Dave Shield
On 30/07/07, Joe Gainey <[EMAIL PROTECTED]> wrote: > I have compiled and > installed version 5.4 of the net-snmp package on a Solaris 9/SPARC system. > --with-mib-modules="if-mib agentx ucd_snmp mibII" > ... an snmpwalk of the interfaces oid only returns information about t

Re: IF-MIB::ifInOctets does not increment

2006-08-23 Thread Dave Shield
On 23/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On a RHEL3 64-Bit box (2.4.21-40.ELsmp), IF-MIB::ifInOctets.X always returns > 2, and IF-MIB::ifOutOctets.X always 0. > > Since this works fine on another 64-Bit machine with RHEL4 > (2.6.9-34.0.2.ELsmp) and net-snmp-5.1.2-11.EL4.6, I up