Reputation: 1255
I am trying to make snmp set query in java to a Linux machine, whenever I make the query I get
No Access to 127.0.0.1 6 (No access)</exception>
I am really curious about why I can not have an access, do I need to be root to make snmp set query ? Or if you know how I can access to localhost to make this query , can you please help me ?
By the way my Variable consists of 1.3.6.1.4.1 and sysDescr
Thank you all
Upvotes: 0
Views: 1417
Reputation: 3128
Every SNMP agent has an address book of all its objects, called the MIB or Management Information Base. The MIB provides the name, OID, data type, read/write permissions, and a brief description for each object in an SNMP agent. So, if the OID is of read-only, then you can't update value of that OID and sysDescr OID is read-only.
For example, see here.
Upvotes: 1