Re: Problem with Set

"Tako Chang" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I got a similar problem, too.
while I was setting sysLoction.0 by snmpset I got a "noSuchName"
but I didn't forget the "instance subidentifier"

cyberj@cyberj-desktop:~$ snmpget -v1 -c private localhost sysLocation.0
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (configure
/etc/snmp/snmpd.local.conf)
cyberj@cyberj-desktop:~$ snmpset -v1 -c private localhost sysLocation.0 s
adsfasd
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-MIB::sysLocation.0

I read the tutorial  "Why can't I set any variables in the
MIB?<http://www.net-snmp.org/wiki/index.php/FAQ:Applications_12>
"
but I didn't catch the point what it described.

Thanks and Happy new year


2007/12/29, Jack G Atkinson Jr <[email protected]>:
>
> Hello,
>
> I seem to be having trouble doing a "snmpset" for some strange reason.
> I know that this MIB entry is writable, because I do it all the time
> from another SNMP application just fine.  Here's two example commands.
>
> snmpget -v 1 -c 'public' 192.168.15.254 'adGenEasyBridgeIndexNext.0'
> ADTRAN-GENERIC-BRIDGE-MIB::adGenEasyBridgeIndexNext.0 = INTEGER: 28
>
>
> snmpset -v 1 -c 'public' 192.168.15.254 'adGenEasyBridgeRowStatus.28' i 5
> Timeout: No Response from 192.168.15.254
>
> Whatever, I try to set, gets the same response.
>
> Thanks,
>
>
> ------------------------------------------------------------------
> Jack G. Atkinson Jr.
> [email protected]
> Romans 5:6-10 - God loved us while we were unlovable!
> Luke 12:36-47 - Be ready!
> ------------------------------------------------------------------
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.