I am getting like ........... [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 system.sysLocation.0 s "hai" Error in packet. Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-MIB::sysLocation.0
Thanks & Regards, Raghu -----Original Message----- From: Tanisha Kashyap [mailto:tanisha.kash...@aricent.com] Sent: Thursday, April 16, 2009 4:35 PM To: Raghu Ramaraj; Dave Shield Cc: Net-snmp-users@lists.sourceforge.net Subject: RE: snmpd.conf IPaddress Correction: [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 system.sysLocation.0 s "hai" "No task is so humble that it does not offer an outlet for individuality" -----Original Message----- From: Raghu Ramaraj [mailto:raghu_rama...@mindtree.com] Sent: Thursday, April 16, 2009 4:20 PM To: Dave Shield Cc: Net-snmp-users@lists.sourceforge.net Subject: RE: snmpd.conf IPaddress Hi, Thanks for your response. It is working now. But if I give like [r...@a2md06031 snmp]# snmpget -v1 -c democommunity 172.22.68.14 system.sysLocation.0 SNMPv2-MIB::sysLocation.0 = STRING: HW_LAB [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 system.sysLocation.0="hai" system.sysLocation.0=hai: Needs type and value Note: I have set rwcommunity in snmpd.conf Could you please point about that? Regards, Raghu -----Original Message----- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, April 16, 2009 4:02 PM To: Raghu Ramaraj Cc: Net-snmp-users@lists.sourceforge.net Subject: Re: snmpd.conf IPaddress 2009/4/16 Raghu Ramaraj <raghu_rama...@mindtree.com>: > Is there any other way to give network address like from IP (172.22.*.*) to > IP(172.23.*.*) ? > > If I want to access the agent from more that one system , do we need to give > IPaddress in snmd.conf? Please read the snmpd.conf(5) man page. In particular, the sections on "rocommunity" and "com2sec" com2sec [-Cn CONTEXT] SECNAME SOURCE COMMUNITY map[s] an SNMPv1 or SNMPv2c community string to a security name - either from a particular range of source addresses, or globally ("default"). A restricted source can either be a specific host- name (or address), or a subnet - represented as IP/MASK (e.g. 10.10.10.0/255.255.255.0), or IP/BITS (e.g. 10.10.10.0/24)... Note that the SOURCE token (in ro/wcommunity) is optional. You can omit this completely, to allow access from anywhere. Dave http://www.mindtree.com/email/disclaimer.html ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ 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 "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." http://www.mindtree.com/email/disclaimer.html ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ 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