On Dec 10, 2009, at 10:36 AM, Mike Ayers wrote: > >> From: Raj Gurung [mailto:r...@evryx.com] >> Sent: Wednesday, December 09, 2009 2:32 PM > >> I tried providing enable password in snmpget command and also with "no > ^^^^^^^ > ||||||| > You mean "snmpset", right? Otherwise, I've found your problem...
Yes I meant snmpset. Sorry *typo*. > >> 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. creating a real server row #snmpset -v2c -c rwcommunity 10.10.10.253 snL4RealServerRowStatus.4 i create snL4RealServerMaxConnections.4 i 1000000 snL4RealServerName.4 s four snL4RealServerIP.4 a 1.1.1.4 modifying a real server row #snmpset -v2c -c rwcommunity 10.10.10.253 snL4RealServerRowStatus.4 i modify snL4RealServerMaxConnections.4 i 100 deleting a real server (row) #snmpset -v2c -c rwcommunity 10.10.10.253 snL4RealServerRowStatus.4 i delete snL4RealServerName.4 s four > > HTH, > > Mike > Thanks a lot. Your suggestion to http://www.ietf.org/rfc/rfc2579.txt was really helpful. I really appreciate it. -raj -- sysAdmin Evryx Technologies, Inc. 412 W. Broadway, Suite 201 | Glendale, CA 91204 T: +1.818.552.3568 F: +1.818.552.3587 C: +1 818.720.9504 www.linkmemobile.com
------------------------------------------------------------------------------ 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-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users