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:

authentication[md5-hmac/sha-hmac] of snmp message

2010-09-15 Thread sanjaykumar
Hi All, Could anyone tell me authentication[md5-hmac/sha-hmac] of snmp message done only on scoped pdu or complete snmp Packet ? Rgds, sanjay -- Start uncovering the many advantages of virtual appliances

snmpTrapOID having extra .0

2010-09-13 Thread sanjaykumar
Hi All, snmp v2 trap consists of: sysUpTime // {1.3.6.1.2.1.1.3.0} snmpTrapOID // {1.3.6.1.6.3.1.1.4.1.0} varList // optional, I can attach anyone variable or more As snmpTrapOID is 1.3.6.1.6.3.1.1.4.1 but if look at the packet of snmptrap snmpTrapOID is

netsnmp_udp_create_XXX Api

2010-08-26 Thread sanjaykumar
Hi All, Could anyone explain under what condition below API will called: 1. netsnmp_udp_create_tstring 2. netsnmp_udp_create_ostring Rgds, Sanjay -- Sell apps to millions through the Intel(R) Atom(Tm) Developer

netsnmp_udp6_parse_security and snmpCommunityTable

2010-08-16 Thread sanjaykumar
Hi All, As net-snmp5.4.2.1 doesn't have implementation on snmpCommunityTable so I am using the available patch under the net-snmp 1779503 http://sourceforge.net/tracker/index.php?func=detailatid=312694group_id=12694aid=1779503 /2007-08-22/ snmpCommunityTable implementation But I

Localized key and master key

2010-07-12 Thread sanjaykumar
Hi All, Could somebody explain what is difference between master authentication and encryption keys (-3m and -3M respectively) and the localized authentication and encryption keys (-3k and -3K respectively). As for get/set operatin we use localized key. when does we use master key ??

Does net-snmp support IPv4 and IPv6 at a time ?

2010-07-07 Thread sanjaykumar
Does net-snmp support IPv4 and IPv6 at a time ? If we configure the net-snmp-5.4.2.1 with option --enable-ipv6 Then it will support only ipv6 or both(ipv4 and ipv6) [ --enable-ipv6 Generate IPv6 ready version.] Rgds, Sanjay

Re: Does net-snmp support IPv4 and IPv6 at a time ?

2010-07-07 Thread sanjaykumar
Dave Shield wrote: On 7 July 2010 08:22, sanjaykumar sanjay.ku...@globaledgesoft.com wrote: Does net-snmp support IPv4 and IPv6 at a time ? Yes. If we configure the net-snmp-5.4.2.1 with option --enable-ipv6 Then it will support only ipv6 or both(ipv4 and ipv6) Both

Configure the snmp in IPv6 mode at RUN time

2010-07-06 Thread sanjaykumar
Hi All, I have configure the net-snmp-5.4.2.1 in IPv6 mode. As the default configuration snmp will run into ipv6 mode only if it is configure in IPv6 mode i.e. based on following macro : #define NETSNMP_ENABLE_IPV6 1 Am I right ??? What are the changes are required if I need to

snmp alarm and cache concept

2010-05-21 Thread sanjaykumar
Hi All, What is snmp alarm and cache concept ?? How they are inter-related ??/// Rgds, Sanjay -- ___ Net-snmp-users mailing list

Master Agent and Sub Agent(s)

2010-05-14 Thread sanjaykumar
Hi All, I am going through the /_Master Agent and Sub Agent(s)._/ I have some doubt regarding the above concept. How does it works ? How does the communication established between them ? Does both receive the snmp request on snmp port 161 or some other port ??? Rgds, Sanjay

Re: Memory Leak in netsnmp-5.4.2.1

2010-04-25 Thread sanjaykumar
Mike Ayers wrote: From: sanjaykumar [mailto:sanjay.ku...@globaledgesoft.com] Sent: Friday, April 23, 2010 3:21 AM I am using the netsnmp-5.4.2.1 I run the valgrind on this, I find lot of Merory Leaks. Could someone help me out regarding this : Does any patches

Memory Leak in netsnmp-5.4.2.1

2010-04-23 Thread sanjaykumar
Hi All, I am using the netsnmp-5.4.2.1 I run the valgrind on this, I find lot of Merory Leaks. Could someone help me out regarding this : Does any patches are available to fix the memory leak for 5.4.2.1 version ??? Rgds, Sanjay

Modification required in function static struct session_list * _sess_copy(netsnmp_session * in_session) in snmp_api.c

2010-04-19 Thread sanjaykumar
Hi Dave and Wes, I have a doubt regarding function "static struct session_list * _sess_copy(netsnmp_session * in_session)" in snmp_api.c In this function DEFAULT auth protocol and priv protocol are assigned without varifying the security level e.g. " if(session-securityLevel

Disabling the snmp log

2010-04-14 Thread sanjaykumar
Hi ALL, I am trying to disable snmp log. I have disable the init function of log in "init_snmp" that is "init_snmp_logging();" Even then i am getting log both in /var/log/snmpd.log and and on terminal[screen]. Could somebody help me out to disable it ? Rgds, Sanjay

Re: Engine ID discovery

2010-04-07 Thread sanjaykumar
Hi Dave and Wes, So do I conclude my requirement as follow: Requirement: As I do the discovery to send the inform request Conclusion: 1. I will send the inform request for engine ID probeing 2. Inform request will be framed as describe in RFC 3414 "This may be accomplished by generating a

Engine ID discovery

2010-04-06 Thread sanjaykumar
Hi All, I am going through the Engine ID discovery code. Could someone explain me about this concept ?? When does it Required ?? How does Engine ID discovery process take place ? Does it is standard or implementation dependent ??? Rgds, Sanjay

Re: Engine ID discovery

2010-04-06 Thread sanjaykumar
Dave Shield wrote: On 6 April 2010 07:04, sanjaykumar sanjay.ku...@globaledgesoft.com wrote: I am going through the "Engine ID discovery" code. Could someone explain me about this concept ?? In order to use SNMPv3, it's necessary to know the "engineI

Re: Engine ID discovery

2010-04-06 Thread sanjaykumar
snmp inform(with wrong engine id and complete varbinds details) 3 times. So my question is, if we follow approach 2, then is it valid as per the SNMP standard ?? Regard's Sanjay Dave Shield wrote: On 6 April 2010 10:09, sanjaykumar sanjay.ku...@globaledgesoft.com wrote: So

set command in IPv6

2010-04-01 Thread sanjaykumar
Hi All, I am trying to give the set command in IPv6 like snmpset -v 2c -c private udp6:[2001:db8:100:f101:2e0:4cff:fe36:12a9]:161 .1.3.6.1.2.1.140.1.2.9.0 s tftp://[172.16.8.128]/coexist_test.bin but I am getting the the following ERROR snmpset: Unknown host

Re: How to add EtherLike-MIB to net-snmp?

2010-03-23 Thread sanjaykumar
Does net-snmp-5.4.1 version code have the "EtherLike-MIB" implementation ?? find out in PATH "agent/mibgroup/EtherLike-MIB" If not try "net-snmp-5.5" it has  "EtherLike-MIB" implementation. Rgds, Sanjay Kavita Raghunathan wrote: How to add EtherLike-MIB to net-snmp? Hello, I’ve

path of snmpd.conf

2010-03-18 Thread sanjaykumar
Hi All, If we run the snmpd it takes the config file from the different location like : /etc/snmp/snmp.conf /usr/share/snmp/mibs/ /var/snmp/snmpd.conf We can also specified the path of config file with options -c 1. What if config file is present at all the place ??? 2. By default

issues with IP-MIB::ipDefaultRouterTable

2010-02-17 Thread sanjaykumar
/Hi All, I have included the //ipDefaultRouterTable with net-snmp-5.4.2.1 from //net-snmp-5.5 I am doing walk for this table It shows the following Error: //IP-MIB::ipDefaultRouterTable = No Such Object available on this agent at this OID Could anybody help me out for above. What

Re: issues with IP-MIB::ipDefaultRouterTable

2010-02-17 Thread sanjaykumar
Dave Shield wrote: On 17 February 2010 13:21, sanjaykumar sanjay.ku...@globaledgesoft.com wrote: I have included the //ipDefaultRouterTable with net-snmp-5.4.2.1 from //net-snmp-5.5 I am doing walk for this table It shows the following Error: //IP-MIB::ipDefaultRouterTable

Re: EngineID

2010-01-29 Thread sanjaykumar
and random number * seed at startup, but few OSes should have that problem. */ Rgds, Sanjay Dave Shield wrote: On 29 January 2010 06:22, sanjaykumar sanjay.ku...@globaledgesoft.com wrote: Now as every time device reboot EngineID is Changing, Hence the engine Time reset to "z

Re: What these means: int majorID, int minorID, void *serverarg, void *clientarg

2010-01-28 Thread sanjaykumar
Thank U Dave -sanjay Dave Shield wrote: On 28 January 2010 06:45, sanjaykumar sanjay.ku...@globaledgesoft.com wrote: I am not able to understand the meaning of following parameters. As there numerous function in net-snmp-5.4.2.1 having following parameter. Could someone explain

EngineID

2010-01-28 Thread sanjaykumar
Hi All, I have a doubt regarding the EngineID. As I have Ported the Net-SNMP-5.4.2.1 as a thread. Now as every time device reboot EngineID is Changing, Hence the engine Time reset to zero[0] and Engine Boot to 1. Does it correct that EngineID should also Change ? Or it should

What these means: int majorID, int minorID, void *serverarg, void *clientarg

2010-01-27 Thread sanjaykumar
Hi All, I am not able to understand the meaning of following parameters. As there numerous function in net-snmp-5.4.2.1 having following parameter. Could someone explain the meaning of these parameters in DETAILS. 1. int majorID 2. int minorID 3. void *serverarg 4. void *clientarg As in

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_datadata; has been commented . Then How

Re: Doubt regarding IF-MIB

2010-01-19 Thread sanjaykumar
lue 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/ifTable/ifTable.c" */ return MFD_SUCCESS; } /* ifMtu_get */ Rgds, Sanjay Dave Shield wrote: 2010/1/19 san

Re: Doubt regarding IF-MIB

2010-01-19 Thread sanjaykumar
Thanks you... Dave sanjay Dave Shield wrote: 2010/1/19 sanjaykumar sanjay.ku...@globaledgesoft.com: 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

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 ethernet1 [eth1]as index

query regarding udpHCInDatagrams and udpHCOutDatagrams

2009-12-01 Thread sanjaykumar
Hi All, I have a doubt regaring udp mib w r t MIBII and rfc4113 As net-snmp5.4.2.1 does not support the following object: udpHCInDatagrams and udpHCOutDatagrams but it is supporting udpInDatagrams and udpOutDatagrams I found that in above object interpret set data but difference is only

major changes of net-snmp 5.5 over net-snmp 5.4.2.1

2009-11-30 Thread sanjaykumar
Hi All, I am using net-snmp 5.4.2.1, could anybody list the Major changes w r t net-snmp 5.5 What are the advantage of using 5.5 over 5.4.2.1 Rgds, Sanjay -- Let Crystal Reports handle the reporting -

Ipv4InterfaceTable and Ipv6InterfaceTable in IP-MIB

2009-11-19 Thread sanjaykumar
Hi All, I am going through the IP-MIB, net-snmp-5.4.2.1 As per my requirement I need to populate the "Ipv4InterfaceTable" and "Ipv6InterfaceTable". But the function referring two table are protected under the macro "USING_IP_MIB_IPV4INTERFACETABLE_IPV4INTERFACETABLE_MODULE"

Re: Fwd: Need information to retrieve etherStatsTable parameters from the linux kernel.

2009-11-19 Thread sanjaykumar
Hi, see the man page of ethtool, google the ethtool for more information. You can also download the source code for the same. I hope this will help you. Rgds, Sanjay srivardhan hebbar wrote: Hi All, I am trying to implement etherStatsTable of the

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 "9" for if_type " IANAIFTYPE_VOICEOVERCABLE 198", [Index 2

clarification on engine time and engine boots.

2009-10-26 Thread sanjaykumar
Hi All, I need a clarification on engine time and engine boots. I have situation like this: 1. I need to send the many[more the one in sequence] inform request without waiting for response. 2. Each inform request have CURRENT engine time and engine boots. Question: Does snmp manager STORE

Re: Writing MIB for SNMPv2

2009-10-20 Thread sanjaykumar
Look at SMIv1 and SMIv2 to change the MIB from SNMPv1 to SNMPv2 Tanisha Kashyap wrote: Hi, Incase I wish to extend the support from SNMPv1 to SNMPv2, then do I have to rework my MIB as well? In other words, is there a difference in the MIB for SNMPv1, v2 and v3

Re: Writing MIB for SNMPv2

2009-10-20 Thread sanjaykumar
version specific? NO From: sanjaykumar [mailto:sanjay.ku...@globaledgesoft.com] Sent: Tuesday, October 20, 2009 12:48 PM To: Tanisha Kashyap Cc: Net-snmp-users@lists.sourceforge.net Subject: Re: Writing MIB for SNMPv2 Look at SMIv1 and SMIv2 to change the MIB

problem regarding the getting the RESPONSE from snmptrapd

2009-10-20 Thread sanjaykumar
Help required . Hi All, I have a facing a problem regarding the getting the "RESPONSE" from snmptrapd I am sending INFORM request and immediately I got the REPORT as "NOT IN TIME WINDOW" After that function "snmp_resend_request(slp, rp, TRUE); " [snmp_api.c] get called and

Re: SNMPERR_NOT_IN_TIME_WINDOW

2009-10-16 Thread sanjaykumar
or to the manager. So this error is most likely due to your manager not keeping updated values of snmpEngineTime and snmpEngineBoots. -- Nate -Original Message- From: sanjaykumar [mailto:sanjay.ku...@globaledgesoft.com] Sent: Thursday, October 15, 2009 7:12 AM To: net-snmp-users

SNMPERR_NOT_IN_TIME_WINDOW

2009-10-15 Thread sanjaykumar
Hi All, I very frequently get the error SNMPERR_NOT_IN_TIME_WINDOW. What are the reason for this ??? where shall I look to resolve this issue ?? Does it depends on the current time of agent and manager system ??? Regards, Sanjay

query on function family netsnmp_ds_get_string

2009-10-06 Thread sanjaykumar
Hi All, I am trying to bind the port "162" receive the inform response form server(PACT Server). but it is failing in snmpUDPDomain.c at the below line : client_socket = netsnmp_ds_get_string(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_CLIENT_ADDR); Basically I am getting the NULL as

snmptrapd and snmpinform

2009-10-06 Thread sanjaykumar
Hi All, I have a doubt regarding the binding of port 162. suppose I am sending to snmpinform to a remote 172.16.8.127[snmp manager] from 172.16.8.83[snmp agent] As snmptrap is running on the snmp manager 172.16.8.127 Assume everything is fine and it has responded the request.

Re: Handling the inform request

2009-09-24 Thread sanjaykumar
Wes Hardaker wrote: On Wed, 23 Sep 2009 12:54:10 +0530, sanjaykumar sanjay.ku...@globaledgesoft.com said: s what about the different API available in agent/agent_trap.c ? If you're writing code

Handling the inform request

2009-09-23 Thread sanjaykumar
Hi All, I have a expecting to handle the inform Request, as per the my requirement. Presently I am handling it using snmptrap.c under "app". But I am facing the problem of having two "select" system call, one in agent/snmpd.c and another snmplib/snmp_client.c . As per my requirement I am

Re: How to make snmpd as init_snmpd

2009-08-31 Thread sanjaykumar
rename the function main() in snmpd.c as to required function nane , comment out fork() in same file. If you a going to invoke it as thread, lot of work is ahead. Darshan Ghumare wrote: Hi all, I want to make snmpd (daemon) as a part of my code. So it will be like SNMP-Agent is

regarding handling of EINTR in receive() function in snmpd.c

2009-08-27 Thread sanjaykumar
Hi All, I have a doubt regarding handling of " EINTR" in "receive()" function in "snmpd.c" Why does it required to handle the this Interrupt ? what will be impact if I will not remove i.e. stop Handling it ? Does any Basic functionalities get effected ? The way I handling ? switch

Wrong engine time on Big endian platform

2009-08-21 Thread sanjaykumar
Hi all, I am wrong ENGINE TIME while running the net-snmp-5.4.2.1 on mibs platform. But currect value on x86 platform. Does I need to enable some option for that. what could be reason for that Rgds, Sanjay

Wrong engine time on Big endian platform

2009-08-21 Thread sanjaykumar
request there is mismatch in value ??? Rgds, Sanjay sanjaykumar wrote: Hi all, I am wrong ENGINE TIME while running the net-snmp-5.4.2.1 on mibs platform. But currect value on x86 platform. Does I need to enable some option for that. what could be reason for that Rgds

Re: engineIDType = ENGINEID_TYPE_NETSNMP_RND

2009-08-20 Thread sanjaykumar
Engine Creation Time. It is showing sometime 2191 or sometme 1909 ... rgds, Sanjay Dave Shield wrote: 2009/8/18 sanjaykumar sanjay.ku...@globaledgesoft.com: As netsnmp-5.4.2.1 has by default set the engine id as engineIDType = ENGINEID_TYPE_NETSNMP_RND But I

engineIDType = ENGINEID_TYPE_NETSNMP_RND

2009-08-18 Thread sanjaykumar
Hi All, As netsnmp-5.4.2.1 has by default set the engine id as engineIDType = ENGINEID_TYPE_NETSNMP_RND But I have a doubt regarding the above. What should be default type ? as we have other options also as below #define ENGINEID_TYPE_IPV41 #define ENGINEID_TYPE_IPV62

Re: problem while installing the netsnmp-5.4.2.1 on fedora core 8

2009-08-11 Thread sanjaykumar
Thanks Dave it work with configuration what you have suggested Thanks sanjay Dave Shield wrote: 2009/8/11 sanjaykumar sanjay.ku...@globaledgesoft.com: Hi All, I am facing the problem while installing the netsnmp-5.4.2.1 on fedora core 8 Step 1: ./configure --enable-internal

regarding following two options retries and timeout under snmpcmd

2009-08-11 Thread sanjaykumar
Hi All, I am going through the snmpcmd options: I have some doubt regarding following two options under "man snmpcmd" 1. -r retries Specifies the number of retries to be used in the requests. The default is 5. 2. -t timeout Specifies the timeout in seconds between retries. The

NETSNMP_TRANSPORT_CALLBACK_DOMAIN

2009-07-30 Thread sanjaykumar
Hi All, I have a small issue regarding the CALLBACK : there is a macro "NETSNMP_TRANSPORT_CALLBACK_DOMAIN" I am expecting some basic about this. there is a file "snmpCallbackDomain.c" under the above MACRO. Can I disable this MACRO ? What will be overall effect if I will disable this

Openssl library version required for net-snmp

2009-07-18 Thread sanjaykumar
Hi All, I am using the Net-Snmp-5.4.2.1 I am using the openssl library to support the privacy. presently i have 0.9.8e But I am able to find which MINIMUM version of openssl library is used by net-snmp for high level of security.

session timeout

2009-07-15 Thread sanjaykumar
Hi all, What should be the in general session timeout for snmpinform request ? In Which rfc this has bben specified ? Rgds, Sanjay -- Enter the BlackBerry Developer Challenge This is your chance

unknown encryptionPDU

2009-06-17 Thread sanjaykumar
Hi, I trying to send the inform request as AUTHPRIV but I am getting unknown encryptionPDU in CAPTURE ... When I sending the key I find the SEND key is currect. As AUTHNOPRIV is wotking fine So I am expecting some help where could we problem. CODE in snmpusm.c where I find KEY IS

AUTHPRIV enabled

2009-06-17 Thread sanjaykumar
Hi All, I trying to send the inform request with AUTHPRIV enabled but In Etheral capture I am getting "encryptedPDU: privKey Unknown" but I am not getting any report Does It means when we use the AUTHPRIV then we will get the CAPTURE like "encryptedPDU: privKey Unknown" because of

REVERSE_ASNENCODING

2009-06-15 Thread sanjaykumar
Hi All, I have come across the following two MACRO: #define NETSNMP_USE_REVERSE_ASNENCODING 1 #define NETSNMP_DEFAULT_ASNENCODING_DIRECTION 1 /* 1 = reverse, 0 = forwards */ Please somebody let me know what is ACTUAL use of this macro. Dees it explicitly required ? If i will disable I have

compilation on MIPS platform

2009-05-21 Thread sanjaykumar
Hi All I am compiling the net snmp 5.4.2.1 for mips platform I have configure snmpd.conf at "/usr/share/snmp/snmpd.conf" as rwuser gesl authpriv createUser gesl MD5 gesl1234 DES gesl1234 #com2sec gesl123 "" ropc #group

Re: compilation on MIPS platform

2009-05-21 Thread sanjaykumar
Thanks a lot But could you help me out How to enable the "OPENSSL" option As there is openssl lib is present in "/usr/lib/..." Rgds, Sanjay Kumar Thomas Anders wrote: sanjaykumar wrote: Does we need to PROVIDE any option to enable the "Encry

Agent Shutdown problem

2009-05-07 Thread sanjaykumar
Hi all, I am running the netsnmp 5.4.2.1 as thread 1 : I am facing the problem while my application reboot so snmp thread should also Most of shutdown problem is occurs in mib module Basically when application reboot then it facing problem in "init_mib_modules()" and it crash. Backtrace

Agentx Support

2009-04-29 Thread sanjaykumar
Hi, I am configuring the netsnmp-5.4.2.1 I doesn't required the agentX support at all. what option I need to pass to configure rgds, Sanjay -- Register Now Save for Velocity, the Web Performance Operations

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

To implement the snmpTargetAddrExttable as per the rfc3584.

2009-04-17 Thread sanjaykumar
Hi, I am looking to implement the snmpTargetAddrExttable as per the rfc3584. Could anyone anyone tell which mib config shall I use ? Or does any Patch is available for this ? Rgds, Sanjay -- Stay on top of

snmpNotifyFilterTable as per net-snmp 5.4.2.1

2009-04-17 Thread sanjaykumar
Hi, I am using net snmp version 5.4.2.1 As I found that the code is available for snmpNotifyFilterTable but when do the snmpwalk or snmpget then I following error is displaying SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable = No Such Object available on this agent at this OID Does that mean

Rowstatus creation

2009-04-17 Thread sanjaykumar
HI, Consider the following scenario: Table 1 column 1: (Mandatory) column 2: (Default) column 3: (Mandatory) column 4: (Row status) Let us assume there are no rows in the table. snmpset . localhost column1.index i 10 column4.index The agent receives the set command with the

Re: Rowstatus creation

2009-04-17 Thread sanjaykumar
column1.index i 10 The agent receives the set command with the only one object column1 with no ROWSTATUS. Will the above command succeed in creating a row? if it is creating the row what is the row status value? Rgds, Sanjay Dave Shield wrote: 2009/4/17 sanjaykumar sanjay.ku

regarding the snmpNotifyFilterTable

2009-04-17 Thread sanjaykumar
Hi, I have a doubt regarding the "snmpNotifyFilterTable" I am trying to initialize the table with some default value As i am going through the code, which of the following function will be appropriate to initialize the value of the table

to create a ROW in a TABLE of Type ROW-STATUS.

2009-04-15 Thread sanjaykumar
Hi All, I am looking to create a ROW in a TABLE of Type ROW-STATUS. How does we give the set request to snmp agent , i.e, snmpset command to create a row in a table ? How the order of column (different parameter of the Table) in snmpset command will be extracted by snmpagent ? Any other

problem with snmpwalk on ipNetToPhysicalTable

2009-04-14 Thread sanjaykumar
Hi All, I am looking to the ipNetToPhysicalTable (inetNetToMediaTable) I am doing the snmp-walk on the above table, I am observe that following onject are not display Could you suggest me, Is there any internal (in code) setting for that ipNetToPhysicalIfIndex

Re: problem with snmpwalk on ipNetToPhysicalTable

2009-04-14 Thread sanjaykumar
i need to update the ipNetToPhysicalPhysAddress with my application specific mac-address and not with my machine(where snmp agent is running) mac-address. So which API can i use to do this or how can i update this. rgds, sanjay Dave Shield wrote: 2009/4/14 sanjaykumar sanjay.ku

baby_steps helpers

2009-04-13 Thread sanjaykumar
Hi All, Presently I am somewhat exploring the net-snmp5.4.2.1 I got the doubt on baby_steps helpers. Could somebody will tell me what is basic functionalities of baby_steps related function ? How decision made on selection of baby_steps mode ? What does mean the run-time injectable

Error to retrieve the value of Ethernet Object

2009-04-13 Thread sanjaykumar
Hi All, I am trying to walk on the following object, Following error I am facing Someone could u help me out regarding this: snmpwalk -v 2c -c public -n "" localhost .1.3.6.1.2.1.10 SNMPv2-SMI::transmission = No Such Object available on this agent at this OID but working fine with other

Re: concept like container and helpers

2009-04-10 Thread sanjaykumar
t;handler concept" Thanks and Best Regards, Sanjay Kumar Dave Shield wrote: 2009/4/9 sanjaykumar sanjay.ku...@globaledgesoft.com: Now we can go ahead with "Helpers" concept. OK. It's time for your history lesson Way back in the mists of time, when the first N

Re: concept like container and helpers

2009-04-09 Thread sanjaykumar
bsystem" ? Thanks and Best Regards, Sanjay kumar Dave Shield wrote: 2009/4/9 sanjaykumar sanjay.ku...@globaledgesoft.com: Net-snmp introduce the some of the concept like "container" and "helpers" in latest version. I am really struggling to get HOLD on t

Re: concept like container and helpers

2009-04-09 Thread sanjaykumar
thout help of CONTAINER ? If yes, how the interface will change ? Sanjay Dave Shield wrote: 2009/4/9 sanjaykumar sanjay.ku...@globaledgesoft.com: But what happen when the "subsystem" data is updated ? How agent table "Container" Data structure will be updated ?

Re: concept like container and helpers

2009-04-09 Thread sanjaykumar
Thaks a lot Dave. Yes, I got the general understanding of container. I am really happy. Now we can go ahead with Helpers concept. Sanjay Dave Shield wrote: Hold on - you're rushing ahead a bit. You started by saying that you didn't understand the concepts of container and helper. I've

How does netsnmp store the user Info

2009-04-08 Thread sanjaykumar
Hi All, I am trying to create the "USER" in net-snmp 5.4.2.1 I have a doubt "Like How does user details will store". Does it store in persistence memory or as a link list or link list will store in persistence memory ? Does it require to call "read_configs()" function init time. I am

Re:

2009-04-07 Thread sanjaykumar
Hi ALL, Is it possible to implement the Ether-Like mib , rfc 3635 using the ethtool ? Thanks and Regards, Sanjay kumar Dave Shield wrote: 2009/4/7 Michael Schwartzkopff mi...@multinet.de: In general, the speed of an interface is typically controlled by the hardware. I'm not

registering and loading of mib

2009-04-06 Thread sanjaykumar
Hi All, I have one doubt regarding registering and loading of mib. According my requirement I am expecting mib object should register to response the Request from snmp Manager. As by default It is loading all the mib object present in /usr/local/share/snmp/mibs/. So, to register

agent/mibgroup/mibII/interfaces.c

2009-04-03 Thread sanjaykumar
Hi All, I going through the agent/mibgroup/mibII/interfaces.c file , I got a doubt about the definition of function "SetIfEntry". I didn't find it in netsnmp.5.4.2.1 version. Could anyone let me know, which file contains the definition of the Function OR it is some standard function under

Implementation of EthenetLike mib as per RFC 3635

2009-03-26 Thread sanjaykumar
Hi All, I am trying to implement the EtherLike mib as per the RFC3635. I am trying to read the data from from /proc/net/dev, but this provide the minimal information. I also try to read ifconfig, but I does not any relevent information as per the OBJECT of the MIB Does any version

To enable security feature with net-snmp

2009-03-23 Thread sanjaykumar
Hi All, I am configuring the net-snmp-5. 4.2.1. I am trying to enable authentication and privacy. For that I found a MACRO: "NETSNMP_USE_INTERNAL_MD5". What does mean : Does it necessary to define the above macro to support the AUTH feature ? or net-snmp support the auth feature by

mib supported under agent/mibgroup and agent/mibgroup/mibII

2009-03-19 Thread sanjaykumar
Hi ALL, I have some doubt regarding the mib support under "agent/mibgroup". As under the "agent/mibgroup/mibII" there are function to respective ip/ interface/ ip-forward/ ipv6/ tcp/ udp mibs Again there are different module respective to the above Mibs in "agent/mibgroup". Does it means

Re: mib supported under agent/mibgroup and agent/mibgroup/mibII

2009-03-19 Thread sanjaykumar
modules under "agent/mibgroup" are according to respective rfc as listed here : http://www.net-snmp.org/docs/mibs/ ) Thanks and Regards, Sanjay Kumar Dave Shield wrote: 2009/3/19 sanjaykumar sanjay.ku...@globaledgesoft.com: Does it means "agent/mibgroup/mibII" modul

support of Host and hardware module under agent/mibgroup/

2009-03-18 Thread sanjaykumar
Hi All, I have some doubt about host and hardware module under agent/mibgroup/ What I have understood about host module, It required for HOST (Any Computer connected to network) configuration. Am I right ? What about the hardware ? Does it required by HOST Mib (As per rfc 2790)

MIB supported by net snmp 5.4.2.1

2009-03-17 Thread sanjaykumar
Hi All, I am looking at different MIB doc and RFC supported under net-snmp5.4.2.1 I have some doubt regarding IPV6 MIB. As I found different part of this as IPV6-MIB, IPV6-UDP-MIB, IPV6-TCP-MIB, Are all this part of RFC4293 or they are separate RFC( ?) number ? What about system group. Is

unauthorize user while sending the notification

2009-02-25 Thread sanjaykumar
Hi All, I am getting unauthorize user when I am sending the NOTIFICATION. I have created the user using the following command net-snmp-config --create-snmpv3-user and I copy the created user from snmpd.conf and paste it in snmptrapd.conf. Is this way to add the user in