ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
Hi,     When I tried to get the ifTable using "snmptable" command, I see a completely wrong value for "ifPhysAddress". All other values look fine.   We override the functionlaity of ifTable in our code.   But the value of ifPhysAddress is fine when I tried to retrieve in any MIB browser. This sh

Re: net-snmp 5.5 on solaris zone

2010-07-16 Thread SREENIVAS P
hi, It was resolved after using the net-snmp-svn-V5-4-patches_20100506_0306 thanks, On Wed, Jul 14, 2010 at 4:50 PM, SREENIVAS P wrote: > Hi, > > I am trying to run net-snmp 5.5 on solaris 10 zone. > > snmpd is not working,creating a memory leak and i found following entries > in the log. > >

snmpd timeout - distinct from general

2010-07-16 Thread prasanna
Hi all, I have installed net-snmp in my fedora Core machine with all the instructions mentioned in the "net-snmp.org". My snmpd is up and running. When i do some query like snmpget, snmpwalk then i am getting time out error message, but still the snmp is running. I am not able to do any

Re: snmpd timeout - distinct from general

2010-07-16 Thread Dave Shield
On 16 July 2010 06:03, prasanna wrote: > I have installed net-snmp in my fedora Core machine with all the instructions > mentioned in the "net-snmp.org". My snmpd is up and running. How have you configured the agent? What is in the snmpd.conf file? > When i do some query like snmpget, snmpwalk t

Re: V3 authkey and privkey

2010-07-16 Thread Dave Shield
On 15 July 2010 17:20, Joan Landry wrote: > I need to be able to specify the authentication key and the privacy key > in snmpd.conf Instead of a password $ man snmpd.conf : createUser : If you want to generate either your master or localized keys directly, rep

Re: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread Dave Shield
On 16 July 2010 11:01, wrote: > I have 2 embedded target machines.. both uses different versions of > snmp's( 5.1.2 and 5.3.2.2) > > while doing snmpwalk, these machines return diff results... > > target1(5.3.2.2) > SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB > SNMPv2-MIB::sysORID.2 = OID: T

Re: Build net-snmp on AIX 7.1

2010-07-16 Thread Lissa Valletta
You have a compiler directives through out the code like the following that won't work on aix7. These are what I though needed changing. On aix7, only aix=aix gets built in the Makefile. I am forcing it to aix6=aix6 to make these checks work.It seems these could be changed to just

Re: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread Dave Shield
On 16 July 2010 11:56, wrote: >        My basic doubt is why 6 mib modules being displayed, instead of 9?. > Is it because 3 mib modules are unregistered or some other reason? Because the implementation of the agent changed over the intervening years, and those "infrastructure" modules are no lo

Re: Build net-snmp on AIX 7.1

2010-07-16 Thread Lissa Valletta
After I fixed the compile directive issue, I still get the following ld issues . I am debugging, but any advice would be appreciated. This exact setup builds successfully on AIX 6.1. I am building net-snmp-5.4.2.1. ld: 0711-318 ERROR: Undefined symbols were found. The following symbols

Re: Re: snmpd timeout - distinct from general

2010-07-16 Thread prasanna
Ahhh finally i got out of the issue. The net-snmp was installed twice in my PC on different locations. One of them was installed by me and other was by someone I am just wondering how this was not shown to me when i was doing the "locate snmpd.conf" at the very fist time (before i

Re: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread Dave Shield
On 16 July 2010 12:23, wrote: > Yeah, I tried doing continues snmpgetnext. But after some point it returns > timedout. And are you going to bother telling us at what point this happens? Or do we have to keep guessing? Dave --

RE: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread adline.dsilva
Yeah, I tried doing continues snmpgetnext. But after some point it returns timedout. >>Because the implementation of the agent changed over the intervening years, >>and those "infrastructure" modules are no longer registered with the >>sysORTable. >It's not important. b

RE: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread adline.dsilva
Hi Dave, My basic doubt is why 6 mib modules being displayed, instead of 9?. Is it because 3 mib modules are unregistered or some other reason? I tried to do snmpget on those modules using their oid's..but it returned nothing. Appoligies for my lack of clarity n knowledge. Thanks & Regar

RE: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread adline.dsilva
:-) It times out while we are walking through mib file we created for our hardware. Agent should walk all the predefined mibs first then user-defined? Is there any order? Or this break is creating the problem? Adline. -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi

RE: V3 authkey and privkey

2010-07-16 Thread Joan Landry
Thanks - I will try that. -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, July 16, 2010 5:55 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: V3 authkey and privkey On 15 July 2010 17:20

Re: Build net-snmp on AIX 7.1

2010-07-16 Thread Lissa Valletta
Also we are not using perl 5.10.1, which seems to be affecting the building of the .libs directories . At least they do not now match the contents that were in 6.1 on 5.8.8. Lissa K. Valletta 414/3-8 Poughkeepsie, NY 12601 (tie 293) 433-3102 From: Wes Hardaker To: Lissa Valletta/Poughke

Re: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread Dave Shield
On 16 July 2010 13:11, wrote: > It times out while we are walking through mib file we created for our > hardware. Then the problem must lie within the code that you have written to implement your MIB. This is the first time that you have mentioned a private MIB. Up to now, you have been giving

Re: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread Fulko Hew
On Fri, Jul 16, 2010 at 8:21 AM, Dave Shield wrote: > On 16 July 2010 13:11, wrote: > > It times out while we are walking through mib file we created for our > > hardware. > > Then the problem must lie within the code that you have > written to implement your MIB. > > This is the first time that

RE: snmpd timeout - distinct from general

2010-07-16 Thread Mike Ayers
> From: prasanna [mailto:pras.a...@rediffmail.com] > Sent: Thursday, July 15, 2010 10:04 PM > I have installed net-snmp in my fedora Core machine with all the > instructions mentioned in the "net-snmp.org". My snmpd is up and > running. When i do some query like snmpget, snmpwalk then i am getting

RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Mike Ayers
> From: Malathi Panyam [mailto:malathipan...@yahoo.com] > Sent: Thursday, July 15, 2010 4:15 PM > When I tried to get the ifTable using "snmptable" command, I see a > completely wrong value for "ifPhysAddress". All other values look fine. What do you see when you get the value of ifPh

Re: SNMP walk not displaying complete mib oid\'s

2010-07-16 Thread Dave Shield
On 16 July 2010 16:28, Fulko Hew wrote: > But I have encountered problems with sub-agents written by my co-workers > that did not 'do the right thing' at the end of tables and their 'assigned > block' of the OID tree. > > They did two things wrong, they: > a) didn't always return the correct 'next

RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
Hi,    Thanks for the reply. I see nothing with the snmpgetnext   Node> snmpgetnext -v2c -c public ifPhysAddress.1 IF-MIB::ifPhysAddress.2 = STRING: Regards, Malathi --- On Fri, 7/16/10, Mike Ayers wrote: From: Mike Ayers Subject: RE: ifPhysAddress value shown wrong on NetSNMP client for if

RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Mike Ayers
> From: Malathi Panyam [mailto:malathipan...@yahoo.com] > Sent: Friday, July 16, 2010 9:17 AM >Thanks for the reply. I see nothing with the snmpgetnext > > Node> snmpgetnext -v2c -c public ifPhysAddress.1 > IF-MIB::ifPhysAddress.2 = STRING: What's the matching ifDescr? Did

trap formatting

2010-07-16 Thread Mike Ayers
I put this line in my snmptrapd.conf: format2 %t %B %P %V,% %v\n ...which I thought would insert the varbind list with comma separators, but it gags: [SNIP] host> snmptrapd -C -c snmptrapd.conf -f -Lo 0.0.0.0:10161 % %v\n: No such file or directory 2010-07-16 11:26:43 NET-SNMP

RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
Hi,    I just ran it for the second row, but its the same for first row as well. ifDescr is giving the correct value all the times.. no issues with that.   Thanks and Regards, Malathi --- On Fri, 7/16/10, Mike Ayers wrote: From: Mike Ayers Subject: RE: ifPhysAddress value shown wrong on Net

RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
Sorry,  I was wrong in saying the snmpgetnext command returns nothing.. I had to use a different interface index as all the first ones are for DS1 interfaces. For the lan interfaces with snmpgetnext I do see the wrong value   node> snmpgetnext -v2c -c public ifPhysAddress.8 IF-MIB::ifPhysAddres

Re: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Dave Shield
On 16 July 2010 19:50, Malathi Panyam wrote: > node> snmpgetnext -v2c -c public ifPhysAddress.8 > IF-MIB::ifPhysAddress.9 = STRING: > 30:30:3a:31:30:3a:32:33:3a:63:30:3a:34:32:3a:35:64 I presume you were expecting to see a value of 00:10:23:c0:42:5d ? Because I'd suggest that it is th

Re: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
Hi Dave,   Thanks a lot!. I started using the binary string and it works fine now.   Regards, Malathi --- On Fri, 7/16/10, Dave Shield wrote: From: Dave Shield Subject: Re: ifPhysAddress value shown wrong on NetSNMP client for ifTable To: "Malathi Panyam" Cc: net-snmp-users@lists.s