sending informs from sub-agent to Master agent ( agentx )

2011-06-20 Thread anand anand
Hello all, We have a sub-agent embedded in a user process ( Border Gateway Protocol daemon ). We used the examples provided by net-snmp. The Basic Get and Set operations are working fine. The communication protocol we have configured is AgentX. We want to send send traps the daemon to master ag

Re: sending informs from sub-agent to Master agent ( agentx )

2011-06-28 Thread anand anand
not reaching our module., but snmpgets and sets work fine. Can anyone help us on this integration issue. Regards -anand On Mon, Jun 20, 2011 at 3:57 PM, Dave Shield wrote: > On 20 June 2011 08:46, anand anand wrote: > > How do we send traps from sub-agent to Master agent. ? > >

Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread anand anand
Hello all, We are using agentx protocol to communicate between net-snmp and our application. The GET/SET/GET NEXT functionality are working fine. My query/doubt is about traps. ( I am a very new to trap/inform forwarding ) Please let me know if my understanding is correct : - Application sen

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-20 Thread anand anand
ote: > On 20 July 2011 14:20, anand anand wrote: > > Please let me know if my understanding is correct : > > > > Application sends the trap to snmpd on the > > NETSNMP_AGENTX_SOCKET which is /var/agentx/master. > > > >We configure trap2sink or trapse

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread anand anand
Thu, Jul 21, 2011 at 12:47 PM, Dave Shield wrote: > On 20 July 2011 20:23, anand anand wrote: > > In my snmpd.conf i have the following entry: > > > > trap2sink 10.10.10.112:162 public > > trap2sink nsn.nms.com:162 public > > > > Is this the correct synta

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-21 Thread anand anand
from me. Thanks -anand On Thu, Jul 21, 2011 at 5:07 PM, Dave Shield wrote: > On 21 July 2011 11:46, anand anand wrote: > > In my snmpd.conf file i have only one entry for > > trap2sink 10.10.10.188:162 public > > Obvious question first - what is the address of the other trap2

Re: Query on Trap/Inform sent from a sub-agent based on agentx

2011-07-25 Thread anand anand
:(. Thanks for all the valuable support. Regards -anand On Thu, Jul 21, 2011 at 6:32 PM, anand anand wrote: > Hello Dave, > > Before making the test, the NSN NMS entry was removed from the snmpd.conf > file. After this the snmpd and snmptrapd were restarted. > > Kindly let me

Info needed on lt-snmpd

2011-07-28 Thread anand anand
Hello all, Below is the configure command which we are currently using to make net-snmp libs and binaries. *./configure --with-default-snmp-version=3 --with-sys-contact=ad...@lab.com--with-sys-location=lab --with-logfile=/opt/nsn/var/ --with-persistent-directory=/opt/nsn/var/net-snmp --with-mibd

Help needed ( 64 bit compilation )

2011-08-03 Thread anand anand
Hello all, When compiling net-snmp for 64 bit the build is going through fine, however we do not see any shared libs getting created. Instead static library filea are getting created. Any specific steps which needs to be taken care of during configure for shared libs to be created ? Regards -

starting snmpd on a different port

2011-08-10 Thread anand anand
Hello all, We have a requirement wherein we should be able to change the SNMP port ( 161 ) to a new value at runtime without restarting the agent. After the change Net-Snmp agent should run only on the new port. Is this possible with net-snmp ? If yes, then how this can be achieved ? Any API's o

Re: starting snmpd on a different port

2011-08-16 Thread anand anand
Thanks Wes, We were able to achieve this requirement, with the help of init_master_agent API as pointed by you. Thanks -anand On Wed, Aug 10, 2011 at 7:29 PM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > >>>>> On Wed, 10 Aug 2011 16:49:27 +0530, anand anand &

Question on Trap/inform filtering and statistics

2011-08-16 Thread anand anand
Hello all, I had some questions related to traps/informs - We have sub-agents A,B and C sending traps/informs to Net-Snmp ( on AgentX ). Is it possible to configure Net-snmp in way that it discards all traps/informs from B. ? If user wants to enable receiving traps from B at a late

info needed on snmpbulkget with agentx

2011-08-23 Thread anand anand
Hello all While performing a snmpbulkget on nstAgentSubagentObject, which is provided as part of the agentx tutorial i get the below output *snmpbulkget -v2c -c public localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject* *NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = INTEGER: 3* *SNMPv2-

Re: info needed on snmpbulkget with agentx

2011-08-23 Thread anand anand
This is the correct behavior. I was not aware of how the getbulk request will work. -anand On Wed, Aug 24, 2011 at 2:10 AM, Dave Shield wrote: > On 23 August 2011 08:28, anand anand wrote: > > Why is the output having information for MIB objects which we did not ask > for. >

linkUpDownNotifications ( unable to test linkdown traps )

2011-08-25 Thread anand anand
We are using net-snmp 5.5.1 Snip from my snmpd.conf *defaultMonitors yes* *#linkUpDownNotifications yes* *notificationEvent linkUpTraplinkUp ifIndex ifAdminStatus ifOperStatus* *notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus ifOperStatus* *trap2sink localhost:162 <

Re: linkUpDownNotifications ( unable to test linkdown traps )

2011-08-25 Thread anand anand
I tried adding the below to the snmpd.conf file. Still cannot get the linkdown trap. Any ideas ? createUser _iquery MD5 someRandomPassword rouser _iquery iquerySecName _iquery -anand On Thu, Aug 25, 2011 at 3:21 PM, anand anand wrote: > We are using net-snmp 5.5.1 > > Sni

can IFTABLE_REMOVE_MISSING_AFTER be changed ?

2011-09-05 Thread anand anand
Hello all, We are trying to test a scenario wherein user removes a network interface from the system. When trying a snmpwalk on ifXTable or ifTable after the removal, the data for the removed interface still gets displayed till 300 seconds as defined by IFTABLE_REMOVE_MISSING_AFTER in ifTable_d

Does the ifTable display virtual interface entries ( Subject changed )

2011-09-13 Thread anand anand
y the information related to virtual interface. Thanks -anand On Mon, Sep 12, 2011 at 3:18 PM, Dave Shield wrote: > On 5 September 2011 10:23, anand anand wrote: > > When trying a snmpwalk on ifXTable or ifTable after the removal, the > data > > for the removed interfac

API to get the file descriptors for the net-snmp sessions ?

2011-09-15 Thread anand anand
Hello all, We have an application with which we want to integrate the Net-snmp agent x sub agent. Now the subagent uses agent_check_and_process function call which in turns calls select and eventually calls snmp_read ( correct me if i am wrong ). Our application is also socket based and uses use

question on vacmSecurityToGroupTable

2011-09-20 Thread anand anand
Hello all, Below is the output of a snmpwalk on vacmSecurityToGroupTable. The question is regarding *comm4* [root@localhost ashish]# snmpwalk -v 2c -c private localhost SNMP-VIEW-BASED-ACM-MIB::vacmSecurityToGroupTable SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.1."*comm4*" = STRING: grpcomm4 SNMP-V

Info needed on informs from applications

2011-10-12 Thread anand anand
Hello all, We are using the mib2c.notify.conf to to generate the code for the inform/trap.. The actual function which is sending the trap is *send_v2trap. *Out intent is to send a Inform to the Trap/Inform receiver. So we linked the generated .shared object to our application. Our app check

Re: Info needed on informs from applications

2011-10-12 Thread anand anand
Thanks Dave for the reply Application code is part of subagent and not part of master agent ( snmpd ). Will it still work ? Thanks -anand On Wed, Oct 12, 2011 at 5:16 PM, Dave Shield wrote: > On 12 October 2011 12:39, anand anand wrote: > > So, will the Net-snmp agent send the I

Re: Info needed on informs from applications

2011-10-17 Thread anand anand
communicate with Net-snmp ) thanks -anand On Fri, Oct 14, 2011 at 10:05 PM, Cristian Marussi < cristian.maru...@gmail.com> wrote: > On Wed, Oct 12, 2011 at 2:47 PM, Dave Shield > wrote: > > On 12 October 2011 13:20, anand anand wrote: > >> Application code is part

Re: Info needed on informs from applications

2011-10-17 Thread anand anand
Hi, trapsess directive in snmpd.conf can actually help setting the retry and timeouts for the informs. Regs -anand On Mon, Oct 17, 2011 at 6:42 PM, Dave Shield wrote: > On 17 October 2011 12:32, anand anand wrote: > > I guess there is currently no way to tune these parameters to

snmp operations failing when a engine-id is provided in the createUser directive in persistent snmpd.conf file

2011-10-17 Thread anand anand
Hello all, Below is the entry in persistent /var/net-snmp/snmpd.conf before starting the agent *createUser -e 0x80001f888089d4a911f47e045e initial MD5 setuppassphrase DES setuppassphrase*. Below is the entry in the static /etc/snmpd.conf *rwuser initial.* .. .. After starting the agent..we are

Re: problems while querying an HP blade enclosure

2011-11-02 Thread anand anand
Hi, The problem is in the command "snmpwalk –v1 –c ammeon 10.44.84.33 1.3.6.1.4.1.232". I have marked them in red. It should be " snmpwalk -v1 -c ammeon 10.44.84.33 1.3.6.1.4.1.232". Not the Dashes before the version and community options. Thanks -anand On Wed, Nov 2, 2011 at 3:52 AM, Danie

help needed on snmpwalk using localized keys

2011-11-04 Thread anand anand
Hello all, We have added myuser as rwuser. We are using the below directive in persistent snmpd.conf createUser myuser SHA -l 0x0001020304050607080900010203040506070809 AES -l 0x00010203040506070809000102030405 Tried snmpwalk using the below command snmpwalk -v3 -u myuser -l authPriv -

Re: Dynamic snmp agent reconfiguration

2011-11-11 Thread anand anand
Net-Snmp supports re-reading of the snmpd.conf file if it receives a SIGHUP Check out the receive(void) function in snmpd.c, there is a call to update_config, which will be called only if a global flag is set when net-snmp receives a SIGHUP -anand On Fri, Nov 11, 2011 at 11:30 AM, Mohammad Waq

Re: Need the summary of tables and scalars supported in RFC 4293

2012-10-03 Thread anand anand
Check this out http://net-snmp.sourceforge.net/docs/README.agent-mibs.html On Wed, Oct 3, 2012 at 12:47 PM, Madhu Sudhana Rao wrote: > Hi everyone, > > > Currently I am using net-snmp 5.6.2 version which has RFC 4293 > implementation. > I would like to know the summary of tables and scalars whic

urgent Information needed on the comment provieded in the net-snmp code ( mem leaks )

2007-05-15 Thread anand anand
Hello all, In the file snmp_api.h, there is a comment which says the following : The actual transport domain. This SHOULD NOT BE FREE()D. This comment is present inside the structure *netsnmp_pdu* Will this cause memory leaks if it is not freed. ?? Thanks --anand -

question regarding snmp_synch_response

2007-06-13 Thread anand anand
Hello all, We have an application running over net-snmp 5.2.1. We are trying to send Informs in a synchronous manner by using the API call snmp_synch_response(). My question/query: To open the snmp session we have used the snmp_open API to which we pass the

query related to IPv6 and IPv4 support

2007-07-24 Thread anand anand
Hello all, Is it possible to run the net-snmp stack to manage both IPv6 based devices and IPv4 devices simultaneously. I am using net-snmp 5.2.1. i am able to perform all operation related to IPv4 based device. Now i need to try with IPv6 based devices. Thanks --anand

Re: query related to IPv6 and IPv4 support

2007-07-24 Thread anand anand
On 7/24/07, Thomas Anders <[EMAIL PROTECTED]> wrote: anand anand wrote: > Is it possible to run the net-snmp stack to manage both IPv6 based devices > and IPv4 devices simultaneously. > > I am using net-snmp 5.2.1. i am able to perform all operation related to > IPv4 based

information on net-snmp

2006-03-12 Thread anand anand
Hello,     I am new to snmp. We are evaluating the use of  net-snmp for our project.     My project requirement is that I want to use a single net-snmp stack with different Application having seperate engine ID's.     These are the questions which i have :      1.> Is it possible that i can use dif

Re: information on net-snmp

2006-03-13 Thread anand anand
one net-snmp installation. If yes, then where do i need to look in the net-snmp code to do the modifications to create a prototype.     Regards -anand  On 3/13/06, Thomas Anders <[EMAIL PROTECTED]> wrote: anand anand wrote:>   My project requirement is that I want to use a single net-snmp

oldEngineID

2006-03-13 Thread anand anand
Hello all,     I have the following question:     Can anyone tell me which part of the net-snmp code  reads the /var/net-snmp/snmpd.conf file and populates the oldEngineID variable in the snmpv3.c.     regards -anand    

regarding the netsnmp_register_agent_nsap function

2006-04-03 Thread anand anand
Hi,     I am trying to run a single net-snmp agent listening on different IP address on  the same machine.. ( I am using a quad port ). I have configured 8000 IP addresses on my machine. I used the netsnmp_register_agent_nsap to achieve this functionality.     I am able to send get and set reques

Re: regarding the netsnmp_register_agent_nsap function

2006-04-03 Thread anand anand
at my idea is correct or not  as i am not a expert on net-snmp.     If you can comment on the above idea.    Thanks for the reply once again.   Regards -anand  On 4/3/06, Thomas Anders <[EMAIL PROTECTED]> wrote: anand anand wrote:>   I am trying to run a single net-snmp agent listening o

Regarding athentication and encryption

2006-04-18 Thread anand anand
Hello,     My question is related to Authentication and encryption.     I am using net-snmp version  :  5.2.1     when i configured my net-snmp in the configure-summary file i get the following    SNMP Versions Supported:    1 2c 3 Net-SNMP Version:   5.2.1   Bui

help needed regarding Authentication & encryption (SHA/AES)

2006-05-09 Thread anand anand
Hello All    I am using SHA and AES   I am using the following command :   ./snmpget -M /usr/local/share/snmp/mibs -v 3  -a SHA -A 0303031303230333034303530363037303830393030303130323033303430353036303730383039  -e 3030303030304131313331333133313331333133  -l authPriv -u anand -x AES -X 3030303130

Problem in setting a mibvariable of type DateAndTime

2006-12-25 Thread anand anand
** Hello all, I want to do a a snmpset on this variable. Can some one kindly help me with the syntax. schedLastFailed OBJECT-TYPE SYNTAX DateAndTime MAX-ACCESS read-write STATUS current DESCRIPTION "The date and time when the most recent failure occurred."

Core dump in net-snmp with solaris 10

2007-02-12 Thread anand anand
I am facing a core dump with the latest version of net-snmp on solaris 10. But when i enable the logs in /.snmp/snmp.conf then there is no core dump. Has any one faced similar situation. ? If yes, then any remedies. Thanks --anand

init_kmem: kvm_open failed: Error 0 on solaris 10

2007-02-14 Thread anand anand
Hello all, I am trying the run net-snmp on solaris 10. When i start the snmpd then i get the following in the snmpd.log file. Can anyone kindly tell me did i miss anything during the net-snmp configuration. Thanks - Take S

Re: init_kmem: kvm_open failed: Error 0 on solaris 10

2007-02-14 Thread anand anand
ble wmanNotification" --prefix="/vob/net-snmp" Thanks -anand On 2/14/07, Thomas Anders <[EMAIL PROTECTED]> wrote: anand anand wrote: > I am trying the run net-snmp on solaris 10. When i start the snmpd then i > get the following in the snmpd.log file. > > Can anyon

Re: init_kmem: kvm_open failed: Error 0 on solaris 10

2007-02-14 Thread anand anand
I am running 5.2.1. I will switch to 5.4 . If i still get the same error then i will update the logs. Thanks for the help -anand On 2/14/07, Thomas Anders <[EMAIL PROTECTED]> wrote: anand anand wrote: > I am running snmpd as root > > Here are the configure-options > &g

Re: init_kmem: kvm_open failed: Error 0 on solaris 10

2007-02-14 Thread anand anand
It works with 5.4.. Thanks a lot -anand On 2/14/07, anand anand <[EMAIL PROTECTED]> wrote: I am running 5.2.1. I will switch to 5.4 . If i still get the same error then i will update the logs. Thanks for the help -anand On 2/14/07, Thomas Anders <[EMAIL PROTECTED]> wrot

problem using mib2c

2007-02-20 Thread anand anand
Hello all, I tried using mib2c for code generation. I get the following error ERROR: You don't have the SNMP perl module installed. Please obtain this by getting the latest source release of the net-snmp toolkit from http://www.net-snmp.org/download/ . Once you download the source and unpack

contents of tkmibrc

2007-02-26 Thread anand anand
Hello all, I am usning net-snmp 5.4 on solaris 10. Can any one help me with the contents of tkmibrc file present in $HOME/.snmp directory. Is there any document which tell us as to what the user can put in this tkmibrc file. Thanks --anand --

logging in net-snmp

2007-03-22 Thread anand anand
Hello all, I am using net-snmp 5.2.1 for Solaris I have put the following option in the snmp.conf file :- doDebugging = 1. With this i am able to see the logs generated in the snmpd.log file. But after running net-snmp for 48 hrs the log file size grows very huge, consuming a l