On 27 April 2011 16:05, Zimmer Hu wrote:
>> snmpset -v 2c -c private localhost netSnmpHostAddress.\"coconut\" = 7F000101
> Error in packet.
> Reason: wrongValue (The set value is illegal or unsupported in some way)
What does the code that handles this MIB object look like?
In particular, the cod
> On Wed, 27 Apr 2011 09:28:04 -0700 (PDT), Sylvain Dery
> said:
SD> I submitted patch ID 3293842 to adress this issue. I also raised bug
SD> ID: 3293856.
Thanks for submitting a patch! Generally, in the future, if you have a
patch that's enough to track the problem and you don't need
I submitted patch ID 3293842 to adress this issue. I also raised bug ID:
3293856.
Regards,
Sylvain
To: "net-snmp-coders@lists.sourceforge.net"
Sent: Wednesday, April 13, 2011 3:23:56 PM
Subject: -register limits to 127 chars the option parameters
Hi,
I discovered there is a limit of 12
Sorry, my mistake. I set community string wrongly. I checked my snmpd.conf
and reset it to private, and get another issue (wrong value):
> snmpset -v 2c -c private localhost
.iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExamples.netSnmpExampleTables.netSnmpHostsTable.netSnmpHostsEntry.n
On 27 April 2011 15:39, Zimmer Hu wrote:
> Here is the command feedback:
>
>> snmpset -v 2c -c public localhost netSnmpHostAddress.\"coconut\" s 7F000101
> Error in packet.
> Reason: noAccess
This is an error from the remote end.
It's telling you that the agent doesn't allow SET requests with
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 26 A
Dave,
Here is the command feedback:
> snmpset -v 2c -c public localhost
.iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExamples.netSnmpExampleTables.netSnmpHostsTable.netSnmpHostsEntry.netSnmpHostAddress.\"coconut\"
s 7F000101
Error in packet.
Reason: noAccess
Failed object: .1.3.6.1.4.
On 27 April 2011 15:08, Zimmer Hu wrote:
>> snmpset -v 2c -c public localhost netSnmpHostAddress."coconut" s 7FABC101
Try escaping the quotes around "coconut"
i.e.
snmpset -v 2c -c public localhost netSnmpHostAddress.\"coconut\"
s 7FABC101
Dave
-
One more comment:
I used .coconut s 7FABC101 instead of ."coconut" s &FABC101 and get the
same result.
I tried the following command, and get noAccess error as following:
> snmpset -v 2c -c public localhost
.iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExamples.netSnmpExampleTables.n
Hi All,
I have made example code netSnmpHostsTable running as an independent agent.
And I can make mbrowse to set value for netSnmpHostAddress with index value
("coconut") correctly, no problem with creation, modification and deletion.
But when I run snmpset in command line, I get "Unknown Object
Hi Dave,
Thanks for your response. I found libc.conf file in /etc/ld.so.conf/
directory. The libc.conf file already contains " /usr/local/lib". I just ran
ldconfig in root without creating local.conf file. After restarting the
PC, snmpd is no more giving the error.
Thanks,
Ravi
On Wed, Apr 27, 2
Hi Dave,
Thank you very much. Your response solved my problem. One more quick
question. Everytime I restart the PC and if I run snmpd, it gives the
following error.
/usr/local/sbin/snmpd: error while loading shared libraries:
libnetsnmpagent.so.20: cannot open shared object file: No such file or
12 matches
Mail list logo