ok, thanks for the hint.
I try now to create a new row and set the values with seperate snmpset
commands as following
snmpset -v 3 -u boris localhost
SNMP-TARGET-MIB::snmpTargetAddrRowStatus.\'index2'\ = 5
i get
Error in packet.
Reason: wrongLength (The set value has an illegal length from what the agent
expects)
Failed object: SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'index'
I think there must be something wrong with the SnmpAdminString type index.
How do I have to do this?
Thanks a lot
Boris
2010/6/10 Dave Shield <[email protected]>
> On 10 June 2010 10:29, Boris Zweimueller <[email protected]> wrote:
> > SNMP-TARGET-MIB::snmpTargetAddrStorageType.'internal0' = INTEGER:
> readOnly(5)
>
> That value tells you that this particular entry is "readOnly", and
> cannot be changed.
>
> If you configure a completely new target, using SET commands, then you
> should
> be able to amend this. But an entry configured via the snmpd.conf file
> will be
> created as "readOnly", so can't then be altered.
>
> To understand why it works this way - think what would happen if you
> killed and re-started the agent. (Remembering that the original trap
> entry will still be in the config file)
>
>
> Dave
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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