if-mib

2010-02-05 Thread Luis Alexandre D. Brandão
Someone has already found a solution to the problem of when the interfaces go up and down? Each time a tun falls and rises again, a new entry appears in the if-MIB, and it even has the same description! I'm trying to use cacti to monitor traffic from multiple servers, but still could not f

if-mib

2010-02-05 Thread Luis Alexandre D. Brandão
Someone has already found a solution to the problem of when the interfaces go up and down? Each time a tun falls and rises again, a new entry appears in the if-MIB, and it even has the same description! I'm trying to use cacti to monitor traffic from multiple servers, but still could not f

If-Mib modification

2009-11-16 Thread sanjaykumar
Hi All, I need to modify the if-mib the way it is implemented. 1. I need to read the "eth0" as index "1" in instead of index "2" [Usually index "1" is loopback interface in /proc/net/dev" ] 2. other interface should start with index &

RE: if-mib

2010-02-09 Thread Mike Ayers
especially when I reboot. > 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... > I'm trying to use cacti to monitor traffic from multiple servers, but > still could not figure out

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

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 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 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 e

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

IF-MIB population

2008-04-21 Thread Ron Rader
reflects the state of these interfaces, not simply their existence? I'm digging into the IF-MIB code down in agent/mibgroup/if-mib but it isn't completely clear to me yet. Any pointers on navigating this MIB implementation are welcome. Thanks, Ron The information contained in th

IF-MIB question

2011-08-09 Thread Johan Huysmans
Hi All, For monitoring purposes I want to read out interface statistics of a linux device (CentOS 5 - net-snmp-5.3.2.2-9). When performing a walk I get following information: # snmpwalk -v 2c -c public localhost ... IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr

IF-MIB question

2011-08-10 Thread Johan Huysmans
Hi All, For monitoring purposes I want to read out interface statistics of a linux device (CentOS 5 - net-snmp-5.3.2.2-9). When performing a walk I get following information: # snmpwalk -v 2c -c public localhost ... IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr

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 --

Doubt regarding IF-MIB

2010-01-19 Thread sanjaykumar
Hi All, I have a doubt regarding IF-MIB. As I found that We get the data for if Table from structure "ifTable_data data;" an member of structure "ifTable_rowreq_ctx * rowreq_ctx" but what I observe that most of the member of structure "ifTable_data

IF -MIB set problem

2010-10-27 Thread sanjaykumar
HI All, I am doing set for if mib I am getting following error could someone help me out snmpset -v 2c -c private 172.16.8.83 .1.3.6.1.2.1.2.2.1.7.9 i 2 Error in packet. Reason: resourceUnavailable (This is likely a out-of-memory failure within the agent) Failed object: IF-MIB

problems with IF-MIB

2007-06-05 Thread Jeremy Scholz
I am having a problem viewing ifLastChange and some other iod's from this mib. When I try to walk this oid I get "IF-MIB::ifLastChange = No Such Instance currently exists at this OID" Is there something I'm missing. I am running CENTOS4 and am querying the in

RFC1213 + IF MIB + IfType

2008-04-21 Thread Karthick Babu
Hi, RFC1213-MIB has the syntax definition for IfType(IANAifType) from 1 to 32, whereas IANAifType-MIB has the syntax definition for IANAifType from 1 to 54. The IF-MIB , which imports both the above MIBs, uses the RFC1213-MIB's ifType syntax (which allows from 1 to 32). IF-MIB is the

RE: IF-MIB population

2008-04-25 Thread Ron Rader
siness logic. We have extended "ethtool" to include hooks into our dataplane, so that it properly reports link status on the IPSec interfaces. I periodically sample ethtool link status and use the "ip link" command to propagate that status through the Linux platform (and su

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

replace of if-mib

2014-01-07 Thread klaus
Hi all, i need a modified if-mib for my embedded agentx application. I did : ./configure \ --disable-embedded-perl \ --disable-manuals \ --disable-scripts \ --enable-mini-agent \ --with-transports="UDP Callback"\ --with-out-mib-modules=

IF-MIB::ifPhysAddress bug

2015-08-24 Thread Kuroishi Mitsuo
Hi, I'm Mitsuo. I found a problem that causes net-snmp to respond IF-MIB::ifPhysAddress with wrong value. More specifically 1st octet of MAC addres(00:xx:xx:xx:xx:xx) bacomes always 00. My environment is NetBSD 3 on Virtualbox. Though I use the net-snmp 5.6.1.1 on it, as far as I take a

Cross-referencing MIB module with IF-MIB::ifIndex and IF-MIB::ifDescr

2012-10-16 Thread Ryan T. Morgan
Greetings! I'm implementing a MIB module, and I'm stuck. Right now, I'm trying to get my table working. Here's a snippet from the MIB: SomeInterfaceEntry ::= SEQUENCE { someIfIndex <-- this will correspond to IF-MIB::ifIndex

IF-MIB under netsnmp-5.4.2.1

2009-04-21 Thread sanjaykumar
Hi, 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 card ? Rgds, Sanjay

IF-MIB requirement and modification

2010-01-08 Thread sanjaykumar
Hi All, I have a specific requirement regarding the IF-MIB. As per code base Net-SNMP-5.4.2.1 I have come to know that IF mib display all "interface" present on the Machine. Like loopback [lo] as index ->1 ethernet0 [eth0] as index ->2 ethern

Re: Doubt regarding IF-MIB

2010-01-19 Thread Dave Shield
2010/1/19 sanjaykumar : >           I have a doubt regarding IF-MIB. > As I found that We get the data for if Table > from structure "ifTable_data  data;" an member of structure > "ifTable_rowreq_ctx * rowreq_ctx" > but what I observe that most of the member of

Re: Doubt regarding IF-MIB

2010-01-19 Thread sanjaykumar
Extract the current value of the ifMtu data. * copy (* ifMtu_val_ptr ) from rowreq_ctx->data */     (*ifMtu_val_ptr) = rowreq_ctx->data.ifMtu;  /*my doubt is here and in other similar function in             "if-mib/i

Re: Doubt regarding IF-MIB

2010-01-19 Thread sanjaykumar
Thanks you... Dave sanjay Dave Shield wrote: > 2010/1/19 sanjaykumar : > >> But In below function and other similar function, >> data are not access from below Pointer but try to access the other element >> of "fTable_data data;" >> > > Please take a look at the file 'ifTable/ifTabl

Re: Doubt regarding IF-MIB

2010-01-19 Thread Dave Shield
2010/1/19 sanjaykumar : > But In below function and other similar function, > data are not access from below Pointer but try to access the other element > of "fTable_data  data;" Please take a look at the file 'ifTable/ifTable_defs.h' Dave

Re: problems with IF-MIB

2007-06-05 Thread Dave Shield
On 04/06/07, Jeremy Scholz <[EMAIL PROTECTED]> wrote: > I am having a problem viewing ifLastChange and some other iod's from this > mib. When I try to walk this oid I get "IF-MIB::ifLastChange = No Such > Instance currently exists at this OID" Is there somethin

RE: problems with IF-MIB

2007-06-05 Thread Jeremy Scholz
the runtime libraries for shared binaries and applications. All the mibs are located in /usr/share/snmp/mibs/ and IF-MIB.txt is listed in there and has an option for ifLastChange. I've even added "mibs +IF-MIB" to snmpd.conf. I am able to poll for adminStatus, oper

Re: problems with IF-MIB

2007-06-05 Thread Dave Shield
On 05/06/07, Jeremy Scholz <[EMAIL PROTECTED]> wrote: > Name: net-snmp Relocations: (not relocatable) > Version : 5.1.2 Vendor: CentOS That'll be the reason, then. The ifXTable support is relatively new, and has only really stabilised in

RE: problems with IF-MIB

2007-06-05 Thread Jeremy Scholz
Build Date: Tue 05 Jun 2007 09:06:35 AM EDT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, June 05, 2007 6:48 AM To: Jeremy Scholz Cc: net-snmp-users@lists.sourceforge.net Subject: Re: problems with IF-MIB On 05/06/07, Jeremy

IF-MIB Solaris 9/SPARC

2007-07-30 Thread Joe Gainey
e-mfd-rewrites \ --with-default-snmp-version=2 \ --with-sys-contact="Unknown" \ --with-sys-location="Undefined" \ --with-logfile=/var/snmp/log/snmpd.log \ --with-persistent-directory=/var/snmp/private \ --with-mib-modules="if-mib agentx ucd_snmp mibII" --with-ldflags=&quo

Re: RFC1213 + IF MIB + IfType

2008-04-21 Thread Dave Shield
On 21/04/2008, Karthick Babu <[EMAIL PROTECTED]> wrote: > The IF-MIB , which imports both the above MIBs, [RFC1213 & IANAifType-MIB] Err... no, it doesn't. It just imports IANAifType from the IANAifType-MIB (plus various definitions from assorted SNMPv2-* MIBs). It doesn

Alternative implementation of IF-MIB

2011-10-18 Thread Michael Steiger
Hello! I need to implement IF-MIB for a network appliance (running embedded linux) where the ports are not integrated into linux but only accessible via special hardware. I already tried with MFD and also iterate or iterate-access but after looking through the net-snmp 5.7.1 source tree I

Re: replace of if-mib

2014-01-07 Thread Wes Hardaker
klaus writes: > but i got some warnings that if-mib etc needs this mib. Comppiling also > failed. Try including "if-mib" in the list of --with-out-mib-modules. But, the problem may be worse than that. Because other mibs may be using the ifIndex from the ifMib and may need APIs

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 und

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 on

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 wr

Remove IF-MIB and IP-MIB

2013-12-02 Thread Jatin Bodarya
NET-SNMP version: 5.7.2.rc1 Ubuntu 12.04 Hi all, I want to remove these mibs from my snmp agent. How can I achieve it ? at configure level as well as runtime ? Also I suppose to stop all the MIB from master and just want to include my own MIBs. And run it as a subagent. How can I ach

Remove IF-MIB and IP-MIB

2013-12-02 Thread Jatin Bodarya
Hi all, I want to remove these mibs from my snmp agent. How can I achieve it ? at configure level as well as runtime ? Also I suppose to stop all the MIB from master and just want to include my own MIBs. And run it as a subagent. How can I achieve it ? Thanks in Advance. J

IF-MIB::ifInOctets does not increment

2006-08-23 Thread G_K
Sorry, I completely forgot the Subject... -- I have the following problem: 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

question of if-mib changes between releases

2008-12-21 Thread Dennis Andrews
It appears that between net-snmp 5.2 and 5.3 code around the if-mib implementation was changed. In particular the response to a get of certain OIDs that are defined in the MIB but where the data is not supported on the platform (Linux) has changed. Was this intentional? For conformance to an RFC

if-mib support in net-snmp-5.4.2.1

2010-10-26 Thread Shoma S Achar
Hi, I am using net-snmp-5.4.2.1 on a linux target. 1) When i do a snmpwalk on interfaces mib, only ifNumber value is got. # snmpwalk -v 2c -c public interfaces IF-MIB::ifNumber.0 = INTEGER: 0 I am not able to get any values of ifTable(ifIndex, ifDescr, ifType etc). Is this because the

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-s

Question on etherlike MIB and if-mib relationship

2010-04-07 Thread Kavita Raghunathan
Hello, I’m unable to use the linux code that the net-snmp-5.5 generates to reach the ethernet drivers because though our system uses linux, the ethernet device isnt accessible through ioctls (and no, I cant change our system to make it so, I’ve checked). So, I’m writing some of my own code. I ha

RFC1213-MIB vs IF-MIB, ifType and -mALL

2011-06-21 Thread Peter Valdemar Mørch
Hi, As you're probably aware, both RFC1213-MIB and IF-MIB define ifType. IF-MIB defines it as "SYNTAX IANAifType", whereas RFC1213-MIB defines it as "SYNTAX INTEGER" and then goes on to list a subset of IANAifType. For this reason, I'd like to load IF-MIB and not RF1

5.1.2.pre3 problem with IF-MIB on FBSD 4.7

2004-07-12 Thread Doug McPherson
Fooey. After reporting that 5.1.2.pre3 built fine on FBSD 4.7 and 4.5 I have to report that I now find that snmpd is not reporting the interface table correctly.It reports IF-MIB::ifNumber.0 correctly, then seems to 'skip' the rest of the table. There are no views defined in snmpd

Re: Question on etherlike MIB and if-mib relationship

2010-04-08 Thread sanjaykumar
Kavita Raghunathan wrote: > Hello, > I’m unable to use the linux code that the net-snmp-5.5 generates to > reach the ethernet drivers because though our system uses linux, the > ethernet device isnt accessible through ioctls (and no, I cant change > our system to make it so, I’ve checked). So,

Ref: How to Over Write the IF-MIB data

2007-09-21 Thread manu kumar
Hi dudes, I am trying to overwrite the IF-MIB. I want to overwirte index,some data in the coloums, So how is it possible . If any one has idea on it please tell me the setps to solve this problem or if any doc avialable please send it. Thank's & Reg

Ref: How to Over Write the IF-MIB data

2007-09-21 Thread manu kumar
Hi dudes, I am trying to overwrite the IF-MIB. I want to overwrite index,some data in the columns, So how is it possible . If any one has idea on it please tell me the steps to solve this problem or if any doc available please send it. Thanks & Regards

Re: RFC1213-MIB vs IF-MIB, ifType and -mALL

2011-06-21 Thread Peter Valdemar Mørch
Wups, I was too quick in my testing there: On Tue, Jun 21, 2011 at 12:48 PM, Peter Valdemar Mørch wrote: > It seems one can force (re?)-loading of IF-MIB after 'ALL' like this: -mALL > -mIF-MIB / SNMP::loadModules('ALL'); SNMP::loadModules('IF-MIB') to forc

Re: RFC1213-MIB vs IF-MIB, ifType and -mALL

2011-06-24 Thread Wes Hardaker
>>>>> On Tue, 21 Jun 2011 16:04:08 +0200, Peter Valdemar Mørch >>>>> said: PVM> # snmpwalk -M$DIRS -mALL -v2c -c$COMMUNITY $IP ifType | head -n 1 PVM> RFC1213-MIB::ifType.1 = INTEGER: 53 PVM> # snmpwalk -M$DIRS -mALL -mIF-MIB -v2c -c$COMMUNITY $IP i

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

2011-07-23 Thread Dheeraj Gautam
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 this to be shown as 2Gbps. * Did anybody else also faced this issue

snmpd 5.7.1 has no response for IF-MIB::ifLinkUpDownTrapEnable

2012-06-01 Thread David Dombrowsky
We recently upgraded the snmpd server on our boxes from 5.2 to 5.7.1. In the previous version, I get data returned when I ask for ifLinkUpDownTrapEnable (for a specific port). Now, I get this $ snmpwalk -c public 10.1.1.1 .1.3.6.1.2.1.31.1.1.1.14 IF-MIB::ifLinkUpDownTrapEnable = No Such Instance

snmpd 5.7.1 has no response for IF-MIB::ifLinkUpDownTrapEnable

2012-06-01 Thread David Dombrowsky
We recently upgraded the snmpd server on our boxes from 5.2 to 5.7.1. In the previous version, I get data returned when I ask for ifLinkUpDownTrapEnable (for a specific port). Now, I get this $ snmpwalk -c public 10.1.1.1 .1.3.6.1.2.1.31.1.1.1.14 IF-MIB::ifLinkUpDownTrapEnable = No Such Instance

Override IF-MIB::ifAlias. Values from AgentX Sub-Agent

2015-02-27 Thread David Hauck
s for "eth0". It's easy to hardcode this information in the agent's configuration file: # IF-MIB::ifAlias.4 override override 1.3.6.1.2.1.31.1.1.1.18.4 octet_str "Interface 1" The issue I'm having is how to dynamically determine the ifAlias instances and then to add th

Same OID for RFC1213-MIB::ifspeed and IF-MIB::ifspeed

2007-06-21 Thread arijit
Hi, When I do a snmptranslate for RFC1213-MIB::ifspeed and IF-MIB::ifspeed - they return me the same OID. Is that a OID clash between these 2 standard MIB definitions? -Arijit Pinpoint customers

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 ver

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: 100

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-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-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-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: snmpd 5.7.1 has no response for IF-MIB::ifLinkUpDownTrapEnable

2012-06-11 Thread David Dombrowsky
te: > We recently upgraded the snmpd server on our boxes from 5.2 to 5.7.1. > In the previous version, I get data returned when I ask for > ifLinkUpDownTrapEnable (for a specific port). Now, I get this > > $ snmpwalk -c public 10.1.1.1 .1.3.6.1.2.1.31.1.1.1.14 > IF-MIB::ifLinkUpDownTrap

Re: snmpd 5.7.1 has no response for IF-MIB::ifLinkUpDownTrapEnable

2012-07-27 Thread David Dombrowsky
lem. It has no > comments on it. > > Anyone have any ideas? > We were able to work around the problem with this patch: -- --- a/agent/mibgroup/if-mib/ifTable/ifTable.c +++ b/agent/mibgroup/if-mib/ifTable/ifTable.c @@ -200,6 +200,7 @@ ifTable_rowreq_ctx_init(ifTable_rowreq_

RE: Override IF-MIB::ifAlias. Values from AgentX Sub-Agent

2015-04-14 Thread David Hauck
rd interface names, for e.g., > "Interface 1" > might be an alias for "eth0". It's easy to hardcode this information > in the agent's configuration file: > > # IF-MIB::ifAlias.4 > override override 1.3.6.1.2.1.31.1.1.1.18.4 octet_str "Interfac

Re: snmpd 5.7.1 has no response for IF-MIB::ifLinkUpDownTrapEnable

2018-05-02 Thread Alan Del Tredici
x27;s 6 years old, but it looks to still be a problem. It has no >> comments on it. >> >> Anyone have any ideas? >> > >We were able to work around the problem with this patch: > >------ >--- a/agent/mibgroup/if-mib/ifTable/ifTable.c >+++ b/agent/mi

Re: Same OID for RFC1213-MIB::ifspeed and IF-MIB::ifspeed

2007-06-21 Thread Dave Shield
On 21/06/07, arijit <[EMAIL PROTECTED]> wrote: >When I do a snmptranslate for RFC1213-MIB::ifspeed and IF-MIB::ifspeed - > they > return me the same OID. Is that a OID clash between these 2 standard MIB > definitions? No - they refer to the same management object. IF-MIB

Re: Same OID for RFC1213-MIB::ifspeed and IF-MIB::ifspeed

2007-06-22 Thread arijit
Dave, Thanks a ton for the clarification! A lead-on question: Should the mib module for RFC1213 not implement the portion of the mib thats upgraded in IF-MIB, so that there's no ambiguity asto whats the correct value for that portion of the MIB tree? If I have not done any ch

Re: Same OID for RFC1213-MIB::ifspeed and IF-MIB::ifspeed

2007-06-22 Thread Dave Shield
On 22/06/07, arijit <[EMAIL PROTECTED]> wrote: >Should the mib module for RFC1213 not implement the portion of the mib > thats upgraded in IF-MIB, so that there's no ambiguity as to whats the > correct value for that portion of the MIB tree? You are mixing up two separate

What is the impact of commenting call to _check_interface_entry_for_updates in if-mib

2009-12-23 Thread bheemesh v
Hello, I was trying to optimize some part of if-mib as my snmpd was consuming too much cpu slot. Also i came across "_check_interface_entry_for_updates()" calls taking a major part of cpu time. Wanted to check if i comment it out how bad the performance will be. I know the nee

Query on Linux support of if-mib (old ifTable implementation vs new)

2016-11-08 Thread Murali Karicheri
Does Linux support if-mib (new version of ifTable) or do we have to use old version (mibII/interfaces? -- Murali Karicheri Linux Kernel, Keystone -- Developer Access Program for Intel Xeon Phi Processors Access to

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

2016-11-09 Thread Murali Karicheri
Hi, Users, On 11/08/2016 10:18 AM, Murali Karicheri wrote: > Does Linux support if-mib (new version of ifTable) or do we have to use old > version (mibII/interfaces? > > >From the README.agent-mibs, I gather the following:- IF-MIB ifNumber.0 U $2

Having mismatch indexes for some interfaces in the IP-MIB and IF-MIB

2019-04-01 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Experts, Our Product is currently using Net-snmp 5.7.3, and we are hitting an issue with mismatch indexes for some interfaces in the IP-MIB and IF-MIB. Our DE could find the same issue was already discussed earlier through below topics in open forums. https://bugzilla.redhat.com

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

2016-11-12 Thread Bill Fenner
ov 9, 2016 at 12:14 PM, Murali Karicheri wrote: > Hi, Users, > > On 11/08/2016 10:18 AM, Murali Karicheri wrote: > > Does Linux support if-mib (new version of ifTable) or do we have to use > old version (mibII/interfaces? > > > > > >From the README.agent-mibs, I gath

RE: Having mismatch indexes for some interfaces in the IP-MIB and IF-MIB

2019-04-02 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Pindukuru -X (narpindu - HCL TECHNOLOGIES LIMITED at Cisco) Subject: Having mismatch indexes for some interfaces in the IP-MIB and IF-MIB Hi Experts, Our Product is currently using Net-snmp 5.7.3, and we are hitting an issue with mismatch indexes for some interfaces in the IP-MIB and IF-MIB

RE: Having mismatch indexes for some interfaces in the IP-MIB and IF-MIB

2019-04-09 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
LOGIES LIMITED at Cisco) ; Naresh Pindukuru -X (narpindu - HCL TECHNOLOGIES LIMITED at Cisco) Subject: RE: Having mismatch indexes for some interfaces in the IP-MIB and IF-MIB Hi Experts, Could you kindly help on this request please. Thanks, Kiran From: Kiran Kumar Pamula -X (kpamula -

RE: Having mismatch indexes for some interfaces in the IP-MIB and IF-MIB

2019-04-12 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
D at Cisco) ; Naresh Pindukuru -X (narpindu - HCL TECHNOLOGIES LIMITED at Cisco) Subject: RE: Having mismatch indexes for some interfaces in the IP-MIB and IF-MIB Hi Experts, Please help me on this. >From the links below, I see the fix is available for quite some time, but it has not been integr

net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-13 Thread david
We have had this issue for some time and from the change log, I thought that this was fixed.   2004-12-10 08:49  rstory      * agent/mibgroup/if-mib/data_access/interface_common.c:      apply patch 1073897: fix if-mib data access 64bit counter wrap detection   snmpgetnext -v

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-15 Thread Robert Story
On Sat, 13 Aug 2005 07:13:12 -0700 david wrote: D> We have had this issue for some time and from the change log, I thought D> that this was fixed. D> D> 2004-12-10 08:49 rstory D> * agent/mibgroup/if-mib/data_access/interface_common.c: D> D> apply patch 107

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-16 Thread Arno Griffioen
Hi! > D> We have had this issue for some time and from the change log, I > thought > D> that this was fixed. > D> > D> 2004-12-10 08:49 rstory > D> * agent/mibgroup/if-mib/data_access/interface_common.c: > D> > D> apply patch 10738

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-16 Thread Robert Story
On Tue, 16 Aug 2005 11:21:09 +0200 Arno wrote: AG> I'm seeing the same problem, but unfortunately the patch does not fix AG> it for me (NetSNMP 5.2.1.2, Linux 2.6.12, AMD64). AG> AG> On the 64bit x86-64 machine (with the above patch applied) locally with AG> snmpwalk I see this [...] AG> AG> .1.

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-16 Thread Arno Griffioen
On Tue, Aug 16, 2005 at 10:40:15AM -0400, Robert Story wrote: > I'm dubious, but willing to be proven wrong. Understandable.. Had hoped this would fix it myself.. > 1) Did you specify --enable-mfd-rewrites when you configured? (net-snmp-config > --configure-options will tell you) Yes. $ net-snm

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-18 Thread Arno Griffioen
On Wed, Aug 17, 2005 at 06:13:29PM -0400, Robert Story wrote: > Well, it would have helped if I had attached the patch, eh? No worries, I'm > certain as to what the results would be, so I've got a fix to test instead... > Let me know if this helps. Most peculiar.. With both patches (set-var-value

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-18 Thread Robert Story
On Wed, 17 Aug 2005 14:23:22 -0400 Robert wrote: RS> Ok, that would seem to indicate a problem with the math. Can you apply this RS> patch and let me know if any asserts show up in your logs when you get the RS> counter overflow? I think you will, but want to be sure... Well, it would have helped

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-18 Thread Arno Griffioen
On Wed, Aug 17, 2005 at 02:23:22PM -0400, Robert Story wrote: > Ok, that would seem to indicate a problem with the math. Can you apply this > patch and let me know if any asserts show up in your logs when you get the > counter overflow? I think you will, but want to be sure... OK.. Don't see a pat

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-18 Thread Robert Story
On Thu, 18 Aug 2005 10:12:20 +0200 Arno wrote: AG> On Wed, Aug 17, 2005 at 06:13:29PM -0400, Robert Story wrote: AG> > Well, it would have helped if I had attached the patch, eh? No worries, AG> > I'm certain as to what the results would be, so I've got a fix to test AG> > instead... Let me know if

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-18 Thread Robert Story
On Wed, 17 Aug 2005 08:25:08 +0200 Arno wrote: AG> But the start value reported by snmpd is OK. AG> AG> Only when it starts to add bytes to the counter does it somehow manage to AG> exceed the 32 bit boundary. It's like it doesn't check if the added AG> bytes to the counter needs to be wrapped in

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-18 Thread Arno Griffioen
On Thu, Aug 18, 2005 at 04:06:23PM -0400, Robert Story wrote: > If you can test that (backing out the previous patch), that'd be great. I did > finally figure out how to build on the SF 64 bit machine, so I did some > testing and I'm pretty sure I got things all ironed out. Yup. It works fine: .1

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-19 Thread Robert Story
On Fri, 19 Aug 2005 08:02:49 +0200 Arno wrote: AG> On Thu, Aug 18, 2005 at 04:06:23PM -0400, Robert Story wrote: AG> > If you can test that (backing out the previous patch), that'd be great. AG> > I did finally figure out how to build on the SF 64 bit machine, so I did AG> > some testing and I'm pr

Re: net-snmp 5.2.1.2 on x86_64 64-bit Linux does not round Counter32 on IF MIB

2005-08-23 Thread Arno Griffioen
> AG> of returning true 64 bit counters? Aka, do I have a chance to get > AG> something like inHCOctets/outHCOctets working on the NetSNMP daemon for > AG> the interface statistics? > > Yes, if you are on Linux. Simply configure with --enable-mfd-rewrites and > you'll get the ifXTable. It'd be gre

snmpd[8007]: IfIndex of an interface changed. Such interfaces will appear multiple times in IF-MIB.

2010-02-11 Thread bheemesh v
Hello, I am currentlky using net-snmp-5.4.2.1. While trying to configure some VRF's we are getting the below erro logs: *snmpd[8007]: IfIndex of an interface changed. Such interfaces will appear multiple times in IF-MIB.* Is this a case of new interface creation with same old interface ID/

Net-snmp : IF-MIB, TCP-MIB; UDP-MIB etc not working - How to debug through debug token?

2017-06-27 Thread Murali Karicheri via Net-snmp-users
any network related MIB queries. In our case, the agent is running on an ARM based board and file system is built using yocto. snmpwalk -v 2c -c public 192.168.2.20 interfaces IF-MIB::interfaces = No more variables left in this MIB View (It is past the end of the MIB tree) What is the best way to