Hi Dave,
I have done the complete set-up with snmp version 5.5 and
=>>> Following are the required details :
1. Starting the snmpd as:
/home/symbol/Sanjay/net-snmp-5.5/sanjay/sbin/snmpd -c
/home/symbol/Sanjay/net-snmp-5.5/snmpd.conf -f -Le udp:8161
2. snmpset request command:
/home/symbol/Sanjay/net-snmp-5.5/apps/snmpset -c private -v 2c
udp:8161 ccAuditLogRowStatus.\"xyz\".127.0.0.1 i 4
3. Response of snmpset:
SYMBOL-CC-WS2000-MIB::ccAuditLogRowStatus."xyz".127.0.0.1 = INTEGER:
createAndGo(4)
4. output of snmpd:
Get_next-> Fun:ccAuditLoggingCfgTable_get_next_data_point Line:185
NULL Get_next-> Fun:ccAuditLoggingCfgTable_get_next_data_point Line:188
RESERVE1 1 -> Fun:ccAuditLoggingCfgTable_handler Line:264
MODE_SET_RESERVE1 :Table Details are Empty->
Fun:ccAuditLoggingCfgTable_handler Line:272
MODE_SET_FREE :Table Details are Empty->
Fun:ccAuditLoggingCfgTable_handler Line:354
*******snmpd is NOT crashing NOW ******
5. I have attached the dot.c and dot.h file, also snmpd.conf for the
reference.
Questions:
NOT able to add a new row in the table ?
Could you help me
Thanks,
sanjay
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Monday, January 17, 2011 6:13 PM
To: Kumar Sanjay-XJD784
Cc: Net-snmp-users
Subject: Re: SNMP Set is getting Failed
On 17 January 2011 11:47, Kumar Sanjay-XJD784
<[email protected]> wrote:
> One of main issue I think set command go doesn't to "RESERVE1"
Now I'm confused.
You started by saying that the agent *did* call Reserve1, and then Free.
Now you are saying that the agent does *not* call the Reserve1 pass
Which is it?
> I go directly to "FREE"
>
> If possibe can you give the some possible cause of ERROR ??
Not without the information that I've asked for.
You have various 'snmp_log()' statements in your handler.
What do these report when you issue the SET request?
Let's start from the beginning.
Please do the following:
* shut down the agent
* restart the agent using the command
snmpd -f -Le
* in another window, issue the command
snmpset ..... ccAuditLogRowStatus.\"xyz\".127.0.0.1 i 4
(using whatever version/authentication settings are appropriate for your
configuration).
a) What is the response to the 'snmpset' command?
b) What is the (full) output of the 'snmpd' command?
Dave
snmpd.conf
Description: snmpd.conf
ccAuditLoggingCfgTable.c
Description: ccAuditLoggingCfgTable.c
ccAuditLoggingCfgTable.h
Description: ccAuditLoggingCfgTable.h
------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
