RE: how to prevent logging in /var/log/snmpd.log

2009-11-19 Thread raja.singh
Use -Ln option to disable the log. Regards, Raja Singh From: Tewen Hsieh [mailto:[email protected]] Sent: Friday, November 20, 2009 10:49 AM To: [email protected] Subject: how to prevent logging in /var/log/snmpd.log Hi all, as tit

NetSNMP logs coming on console

2009-10-11 Thread raja.singh
Hi All, We have an application in which we are doing a fork and then running snmpd using execv. I am running snmpd and redirecting the logs in a file. But still i get some messages on console. Please let me know, how to disable the logs to come on the console. Thanks in advance, Raja -

RE: SubAgent Tutorial Problem

2009-09-15 Thread raja.singh
Great man :) Now you can solve others problems too... From: Martin [mailto:[email protected]] Sent: Tuesday, September 15, 2009 2:02 PM To: [email protected] Subject: Re: SubAgent Tutorial Problem Problem solved: The OID was not access

RE: error on subcontainer '' insert (-1)

2009-09-01 Thread raja.singh
Thanks Dave. Is the action reconfiguring serves the same purpose as Restarting the Agent? Is the reconfiguring also calls init_snmp ? -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Tuesday, September 01, 2009 1:36 P

RE: error on subcontainer '' insert (-1)

2009-08-31 Thread raja.singh
Hi Dave/All, In my current implementation I can not upgrade the netsnmp. I have some questions here : 1. Is it really required for snmpd to go for a reconfig for SIGHUP signal ? 2. What if the SIGHUP signal handler is modified as to do nothing ? 3. Is there any patch for this to solve the issue (

error on subcontainer '' insert (-1)

2009-08-28 Thread raja.singh
Hi All, I am getting below messages on screen and snmp stopped responding for snmp queries when i send SIGHUP signal to snmpd. Reconfiguring daemon NET-SNMP version 5.3.0.1 restarted error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1)

RE: help me with MIB

2009-08-28 Thread raja.singh
Ashutosh, Are you sure that your SNMP request is reaching to to Agent. Please attach the log for more clarification. From: ashutosh shanker [mailto:[email protected]] Sent: Friday, August 28, 2009 12:21 PM To: [email protected] S

Not able to update engineBoots and EngineTime

2009-05-23 Thread raja.singh
Hi All, I have made an application to send traps. For this i am creating a sesseion and using function snmp_send to send the trap. Before sending i am filing the session->engineBoot and session->engineTime but when i received the same trap on Manager side it is getting modified by 0.( both the fi

RE: Not able to get SNMPV2 cold start trap

2009-05-22 Thread raja.singh
Hi All, I have run the snmpd and snmtrapd on other machine. Below are the configuration in snmpd.conf : trapsess -v 3 -u admin -a MD5 -A AABBCCDDEEFFGGHHIIJJMM -x DES -X 00112233445566778899 -l authNoPriv 10.201.114.173:162 Ci -t 2 -r 3 The configuration of smptrapd.conf is : CreateUser admin M

Not able to get SNMPV2 cold start trap

2009-05-18 Thread raja.singh
Hi All, I have run the snmpd and snmtrapd on other machine. Below are the configuration in snmpd.conf : trapsess -v 3 -u admin -a MD5 -A AABBCCDDEEFFGGHHIIJJMM -x DES -X 00112233445566778899 -l authNoPriv 10.201.114.173:162 Ci -t 2 -r 3 The configuration of smptrapd.conf is : CreateUser admi

RE: How to know a net-snmp api belongs to which library?

2009-05-04 Thread raja.singh
On Unix use the below command : nm libraryname | grep snmp_set_var_objid Thanks. From: Tewen Hsieh [mailto:[email protected]] Sent: Tuesday, May 05, 2009 11:35 AM To: [email protected] Subject: How to know a net-snmp api belongs to

Using a handler in net-snmp

2009-04-30 Thread raja.singh
Hi All, I am facing an issue with net-snmp. I want to call a function after snmpd sends cold-start after startup. For this i dont want to put any code change in netsnmp standard files. I want to use a handler that will be called just after the sending of cold-start trap. Please help me to impleme