RE: Reg: How to do netsnmp snmp walk for IPv6 TCP/UDP mibs

2010-07-28 Thread Mike Ayers
> From: Arulkumar Ponnusamy [mailto:parul@gmail.com] > Sent: Tuesday, July 27, 2010 10:04 PM > I have installed the net-snmp5.5 on my windows machine and > configured the snmp agent. > My snmp agent is running fine. When i try to do snmpwalk for IPv6 > related mibs i am getting >

net-snmp and FIPS 140-2

2010-07-28 Thread Ron Rader
I'm trying to build net-snmp v5.4.1 from source, linking in our FIPS-enabled OpenSSL libraries v0.9.8. The configure step always fails, claiming that it can't find the encryption libraries, despite having access to all the correct local include & lib directories (verified through config.log exam

wrong table called at agent!

2010-07-28 Thread kavita raghunathan
Hello, I have 3 tables, table1, table2 and table3. They have OIDs ending with 1.x, 2.x and 3.x respectively. When I direct the mib browser (I'm using ireasoning) to fetch table1 data 1.1, 1.2, 1.3 etc, it fetches table1 1.1, 1.2, 1.3 data. When I direct the browser to use table2 (2.1, 2.2, 2.3..

Fw: Net-SNMP 5.5 tcpConnTable problem

2010-07-28 Thread IanA
Hi, Any type of response or acknowledgement would be appreciated. Zapo - Original Message - From: IanA To: Support Net-SNMP Sent: Thursday, July 22, 2010 8:43 AM Subject: Net-SNMP 5.5 tcpConnTable problem Hi, I hope I am not double-posting, but I did not see this post of 21-Jul-10 i

Re: snmpd dead but pid file exists

2010-07-28 Thread Cameron Smith
On Wed, Jul 28, 2010 at 10:23 AM, Cameron Smith wrote: > snmpd quickly dies after start with the error on status: > snmpd dead but pid file exists > > I have gone through the remove/reinstall and confirmed at latest for the > distro I am on which works fine for all my other devices and virtual > c

snmpd dead but pid file exists

2010-07-28 Thread Cameron Smith
snmpd quickly dies after start with the error on status: snmpd dead but pid file exists I have gone through the remove/reinstall and confirmed at latest for the distro I am on which works fine for all my other devices and virtual containers. Any info on how I can trouble shoot this would be great

Re: Syslog level control

2010-07-28 Thread Roberto Greiner
On 28/07/2010 10:17, Dave Shield wrote: > On 28 July 2010 14:06, Roberto Greiner wrote: >> Based on >> http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg20966.html, >> I tried to add "dontLogTCPWrappersConnects 1" in my snmpd.conf file ... > >> /etc/snmp/snmpd.conf: line 28:

RE: Silvercreek issue

2010-07-28 Thread Joan Landry
The only issue I am aware of is the one where the length is > 128. I think Silvercreek does a lot of "negative" testing and I guess expects an agent to respond in a certain way. In this case they expect the agent to see that the number is > 128 and handle it not as though it was 0. -Original

RE: Net-SNMP in AIX Setup help needed

2010-07-28 Thread Stock, Roger W
Dave, It turns out that these entries are not working anyway, so they are probably ignored. I know its reading this config fie since changes to it does affect results. Do you see anything else that's wrong? Roger -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi..

Re: Silvercreek issue

2010-07-28 Thread Dave Shield
On 28 July 2010 15:48, Joan Landry wrote: > I am able to reproduce this problem using any value over 128 as the > length of the sub identifier of an Octet String: The maximum length of a valid OID is 128. Anything longer than that is simply not legitimate. I was actually asking about your other

RE: Silvercreek issue

2010-07-28 Thread Joan Landry
Dave, I am able to reproduce this problem using any value over 128 as the length of the sub identifier of an Octet String: Here is an example using the snmpNotifyFilter Table: There is one row in this table having an instance of: 4.97.98.99.100.1.2.3 Which correlates to the following index: snmpNo

Re: Syslog level control

2010-07-28 Thread Dave Shield
On 28 July 2010 14:06, Roberto Greiner wrote: > Based on > http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg20966.html, > I tried to add "dontLogTCPWrappersConnects 1" in my snmpd.conf file ... > /etc/snmp/snmpd.conf: line 28: Warning: Unknown token: > dontLogTCPWrappersConn

Re: A question of net-snmp

2010-07-28 Thread AC.
Dear sir(s), I made a table for getting mibs information. After my machine finished booting (the initial function was executed and was finish), I use "snmptable" function to get information. The first time to get information, the function,"encTable_get_first_data_point", is called and get my ext

Re: Syslog level control

2010-07-28 Thread Roberto Greiner
Hi, no one has an idea on this? Based on http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg20966.html, I tried to add "dontLogTCPWrappersConnects 1" in my snmpd.conf file, but the net-snmp daemon complained on restart with the following message: Jul 28 09:56:02 server snmp

A question of net-snmp

2010-07-28 Thread AC.
Dear sir(s), I made a table for getting mibs information. The structure is as following, Table.c /* ** table ** */ /** Initialize the table by defining its contents and how it's structured */ void initialize_table(void) { static oid enc

Re: SNMPv3 support in SNMP trap daemon software

2010-07-28 Thread Gaurav Chaturvedi
Hi Dave, Actually, if I am using the same handle everytime, then while calling "connect", fd_set contains the same ID for 4 sessions and count=4 (e.g. for 4 sessions). And the result is that: "snmp_read" doesn't return (till we receive 4 packets in this example) to call connect again. I am assumi

Re: SNMPv3 support in SNMP trap daemon software

2010-07-28 Thread Dave Shield
On 28 July 2010 12:46, Gaurav Chaturvedi wrote: > Actually, if I am using the same handle everytime, then while calling > "connect", fd_set contains the same ID for 4 sessions and count=4 (e.g. for > 4 sessions). > > And the result is that: "snmp_read" doesn't return (till we receive 4 > packets i

Re: SNMPv3 support in SNMP trap daemon software

2010-07-28 Thread Dave Shield
On 28 July 2010 10:54, Gaurav Chaturvedi wrote: > I am using function: > transport = netsnmp_tdomain_transport(port, 1, "udp") > Here, port is same always = 162 (or anything entered by user) > > But, it returns valid pointer only on 1st call. After that, it always > returns NULL, a) What is

Re: net-snmp response

2010-07-28 Thread Arulkumar Ponnusamy
Hi dave, is Net-snmp support IPv6 mib agents? if so how to do the snmpwalk for IPv6 mibs in net-snmp On Wed, Jul 28, 2010 at 2:47 PM, Dave Shield wrote: > On 20 July 2010 16:02, Joan Landry > wrote: > > I am setting a row in a table for a non-existant row - I am using > > snmpV2c so I expect to

Re: SNMPv3 support in SNMP trap daemon software

2010-07-28 Thread Gaurav Chaturvedi
Hi, As I said in my last post, i am able to get all things done correctly if I have single session and I use single session APIs. But for several SNMPv3 users, I need to create multiple sessions. In this case, I am using function: transport = netsnmp_tdomain_transport(port, 1, "udp") Here, por

Re: Silvercreek issue

2010-07-28 Thread Dave Shield
On 20 July 2010 13:43, Joan Landry wrote: > I am getting errors in the Lexicographic ordering tests in silvercreek > using netsnmp-5.5 > > Does anyone know if there is a fix for these bugs in netsnmp code? > When I walk the tables - the ordering is correct - but if you specify > the instance on a

Re: net-snmp response

2010-07-28 Thread Dave Shield
On 20 July 2010 16:02, Joan Landry wrote: > I am setting a row in a table for a non-existant row - I am using > snmpV2c so I expect to get the error noAccess - instead I am getting > noSuchName. > > Can someone tell me how to fix this - as the Silvercreek test suite > considers this an error. Is