Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-29-2012, 05:24 AM   #1
LQ Newbie
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
snmpset returns timeout while snmpget works

i need to get some smp requests working and have finally managed to get an snmp agent working... i can freely use snmpget on any object. but when i try
snmpset -c public -v 2c HOST:PORT OBJECT i 51
i get snmpset TIMEOUT error.

i used -D ALL already and have not found any errors in request
trace: snmp_realloc_rbuild_var_op(): snmp.c, 341:
dumph_send:     Value
dumpx_send:      02 01 33 
dumpv_send:        Integer:	51 (0x33)
trace: snmp_realloc_rbuild_var_op(): snmp.c, 442:
dumph_send:     Name
dumpx_send:      06 0B 2B 06 01 04 01 BF 08 01 05 01 00 
dumpv_send:        ObjID: iso.
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3413:
dumph_send: error index
dumpx_send:  02 01 00 
dumpv_send:    Integer:	0 (0x00)
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3426:
dumph_send: error status
dumpx_send:  02 01 00 
dumpv_send:    Integer:	0 (0x00)
trace: snmp_pdu_realloc_rbuild(): snmp_api.c, 3439:
dumph_send: request_id
dumpx_send:  02 04 6B 07 F5 3F 
dumpv_send:    Integer:	1795683647 (0x6B07F53F)
trace: _snmp_build(): snmp_api.c, 2968:
dumph_send: Community String
dumpx_send:  04 06 70 75 62 6C 69 63 
dumpv_send:    String:	public
trace: _snmp_build(): snmp_api.c, 2984:
dumph_send: SNMP Version Number
dumpx_send:  02 01 01 
dumpv_send:    Integer:	1 (0x01)
i'd like to fix this please help with explanation for newbies )

thx in advance

Edit: solved by creating a new writecommunity in the agent-manager and not only in the agent config file...

Last edited by Vogel612; 10-29-2012 at 06:58 AM. Reason: solved myself...
Old 10-30-2012, 02:59 AM   #2
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391Reputation: 2391
Marked as [SOLVED] and a solution is given by the OP.

Of the zero-reply list.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios check_nrpe returns no output but works in the terminal dave0821 Linux - Software 3 05-02-2012 10:06 AM
Touchpad works, 'synclient -m 100' returns one line of zeros stani Linux - Desktop 0 01-18-2010 03:57 PM
snmpset not getting a response jiml8 Linux - Server 3 02-19-2009 01:24 AM
NFS timeout on remove, but works locally. jhwilliams Linux - Software 1 02-01-2008 05:08 AM
Samba test share works, but homes returns with "network name cannot be found spiff28088 Linux - Server 8 05-01-2007 10:13 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration