Mib2c problem

2005-02-08 Thread Kodel Oleg
I have problem using mib2c utility for the NET-SNMP-EXAMPLES-MIB When I trying mib2c -c ... someOidFromExamples, I got the error : "You didn't give me a valid OID .". The mib2c doesn't known ALL OIDs from netSnmp (including netSnmp itself). When I try other MIBS OID's like RMON-MIB it's o.k.

Retrieving SNMP header fields in the handler

2005-04-17 Thread Kodel Oleg
In my subagent, in the get/set handlers I need to reach the fields of the SNMPv2 header, such as RequestID, AgentAddress, Community. Is it possible to retrieve these fields using regular APIs from the registered handler (registered with netsnmp_register_instance) ? Thank for help. __

Multiple get/set support.

2005-04-17 Thread Kodel Oleg
Is NET-SNMP support multiple get/set ? If yes, the NET-SNMP split multiple get/set between registered handlers? Can I register my handler for number of non-table objects? My subagent registers for handling of some scalar object. Is it possible in the handler function (get and set cases) to retriev

RE: Retrieving SNMP header fields in the handler

2005-04-19 Thread Kodel Oleg
;magic key" SHALL be my own and non-standard (other difficult mechanism involved here). Thank for you time of reading my long story. The help will be blessed.. __ Oleg Kodel - > -Original Message- > From: Wes Hardaker [mailto

RE: Retrieving SNMP header fields in the handler

2005-04-20 Thread Kodel Oleg
Oleg Kodel - > -Original Message- > From: Dave Shield [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 20, 2005 11:09 AM > To: Kodel Oleg > Cc: 'Wes Hardaker'; net-snmp-users@lists.sourceforge.net > Subject: RE: Retrieving SNMP header fields in the handler > >

RE: Retrieving SNMP header fields in the handler

2005-04-20 Thread Kodel Oleg
om: Wes Hardaker [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 20, 2005 8:43 PM > To: Kodel Oleg > Cc: 'Dave Shield'; 'Wes Hardaker'; > net-snmp-users@lists.sourceforge.net > Subject: Re: Retrieving SNMP header fields in the handler > > > >

Print log via custom loger

2005-08-16 Thread Kodel Oleg
Title: Print log via custom loger Hi. How do I do that net-snmp demon and my agentX will print via my own loger? There is some SELECTable file descriptor can be obtained? Other ideas? __ Oleg Kodel ELBIT-NCC Tel:  +972 (3) 925-4744 Fax: +972 (3) 921-3923 C

Change original IP address of the manager

2006-03-23 Thread Kodel Oleg
Title: Change original IP address of the manager Which source address of the manager is taken under consideration by NET-SNMP? Src address from ip header or from snmp header? I should work against multiple managers which placed over proxy that changes the source address within IP header.

RE: Change original IP address of the manager

2006-03-25 Thread Kodel Oleg
TECTED] > Sent: Friday, March 24, 2006 12:39 AM > To: Kodel Oleg > Cc: net-snmp-users@lists.sourceforge.net > Subject: Re: Change original IP address of the manager > > > >>>>> On Thu, 23 Mar 2006 15:23:48 +0200, "Kodel Oleg" > >>>>

Send responses / traps to specific UDP port

2006-03-26 Thread Kodel Oleg
Title: Send responses / traps to specific UDP port How to cause to NET-SNMP to send responses / traps to my specific UDP port?     This e-mail message has been sent by Elbit Systems Ltd. and is for the use of the intended recipients only.The message may contain privileged or commercial

"Community" questions

2006-05-16 Thread Kodel Oleg
Title: "Community" questions Hi. 1) I need that my subagent will accept packets (get/set) with ANY community, but send packets (responses and traps) with predefined community. Is it possible? 2) What is a limit of community string size? It could be 40 - 60 bytes length? 3) The communi

"Community" questions

2006-05-16 Thread Kodel Oleg
Title: "Community" questions Hi. 1) I need that my subagent will accept packets (get/set) with ANY community, but send packets (responses and traps) with predefined community. Is it possible? 2) What is a limit of community string size? It could be 40 - 60 bytes length? 3) The commun

Community length

2006-05-16 Thread Kodel Oleg
Title: Community length I'm trying put to the snmpd.conf string of rwcommunity with length 40 bytes. The NET-SNMP agent refers to only 33 first bytes (at get/set) That mean:     rwcommunity 1234……323334…40 The packets accepted only with 1234……3233 __ Oleg Kodel

Community length

2006-05-16 Thread Kodel Oleg
Title: Community length I'm trying put to the snmpd.conf string of rwcommunity with length 40 bytes. The NET-SNMP agent refers to only 33 first bytes (at get/set) That mean:     rwcommunity 1234……323334…40 The packets accepted only with 1234……3233     This e-mail message has been