Re: [Pysnmp-dev] Communicating with a v2c node
Brought to you by:
elie
From: Ilya E. <il...@gl...> - 2005-11-30 18:53:59
|
> 1. I want to communicate with a v2c node. So, you have got a SMIv2-compliant Agent available via SNMPv2c protocol? > 2. I want to access the enterprise MIB to get the oid given the oidname This is certainly possible. > 3. I then what to set singleton parameters and create and delete table > entries Are you going to manage SNMP table at some distant SNMP Agent with your pysnmp-based SNMP manager? I guess you can do that then. > I have looked at the manager scripts in the v1 and v3arch folders. From > what I understand in order to access the MIBs I need to use pySNMP > v3arch. Is this true? If I got you correctly, it's feasible with both v1 and v2 arch of pysnmp. Though, the v3arch has a very-high-level API what would make it much more easer for you work with. > These scripts send the requests to 'local host' - I assume this can be > replaced by the ip address of the remote node. Is this true? That's true. You may want to read pysnmp tutorial (for pysnmp-4.x) http://pysnmp.sourceforge.net/docs/4.1.x/index.html and experiment with pysnmpset tool from pysnmp-apps package. -ilya |