> But when I try to change the configuration using snmpset command, I am
> getting errors:
> # snmpset -v1 -c rwcommunity
> 10.10.10.253 .1.3.6.1.4.1.1991.1.1.4.3.1.1.2.1 s my-new-server-name
> Error in packet.
> Reason: (genError) A general failure occured
> Failed object: SNMPv2-SMI::enterprises.1991.1.1.4.3.1.1.2.1
> snL4RealServerRowStatus OBJECT-TYPE
> SYNTAX L4RowSts
> ACCESS read-write
> STATUS mandatory
> DESCRIPTION
> "To create or delete a real server entry."
> ::= {snL4RealServerEntry 7 }
You may need to take the row out of service to chante the name. See the description clause of the RowStatus TC in http://www.ietf.org/rfc/rfc2579.txt for the gory details, which point you to the MIB you are using, which should document the extra logic it uses for row modification. Just because a column is writable does not mean it can be changed at any time.
HTH,
Mike
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
This may be an implementation issue.
Where did the code for this MIB module come from?
[I'm pretty sure it's not one of ours!]
It might be worth talking to the vendor about this.
Dave
> 2009/12/9 Raj Gurung <r...@linkmemobile.com>:
>> I could not find the logic for row modification in Foundry MIT either.
>> I should be missing something. Any suggestions or RTFMs?
>
> This may be an implementation issue.
> Where did the code for this MIB module come from?
> [I'm pretty sure it's not one of ours!]
> It might be worth talking to the vendor about this.
The Foundry MIB was downloaded from src: http://www.notarus.net/networking/foundry_snmp.html
Thanks,
raj
> The Foundry MIB was downloaded from src:
> http://www.notarus.net/networking/foundry_snmp.html
Did you try the suggestion in the first section of that page?
HTH,
Mike
> I tried providing enable password in snmpget command and also with "no
^^^^^^^
|||||||
You mean "snmpset", right? Otherwise, I've found your problem...
> snmp-server pw-check" enabled on Load Balancer.
> Uploading the configuration to tftp worked for both.
>
> But, no joy still with the load balancer (real server) add/modify.
It can be tough to work through these things sometimes. The web page you pointed to is very helpful, though, and strongly suggests you should be able to manage through SNMP.
Try this:
$ snmpset -v1 -c rwcommunity 10.10.10.253 . snL4RealServerRowStatus.1 i notInService snAgGblPassword.0 s my-password
$ snmpset -v1 -c rwcommunity 10.10.10.253 . snL4RealServerName.1 s my-new-server-name snL4RealServerRowStatus.1 i active snAgGblPassword.0 s my-password
> Foundry didnt like notInService(2) value for
> snL4RealServerRowStatus.Found that foundry snL4RealServerRowStatus
> value mappings for row creation/modification/deletion as [modify(3),
> create(4), delete (5)].
> And it worked.
Just so I'm clear - you are up and running? You must delete the rows to reconfigure the device, correct?
Thanks,