python-netsnmpagent
python-netsnmpagent copied to clipboard
Can't reach subagent from system-wide level
Hello.
First of all, thank you for that library, since it appears to be the most alive Pyhon-SNMP implementation.
I tried to run simple agent example, from the master branch, that was successful. After that I tried to do as comments say at the beginning of simple_agent.py
.
However this time I had response:
snmpwalk -v 2c -c secret -M+. localhost SIMPLE-MIB::simpleMIB
SIMPLE-MIB::simpleMIB = No Such Object available on this agent at this OID
Also, I noted that nowadays <rosecret>
is called simply secret
inside the /etc/snmp/snmpd.conf
.
And in comments:
Then, from a separate console and from inside the python-netsnmpagent
directory, you can run
I believe you meant from /examples directory, since SIMPLE_MIB.txt is available only there?
I ran
snmpd -f -L -Dagentx
And there is no reaction once I sun simple_agent.
Ugh. Somehow it appears that I was editing run_thresding, while running run_simple. Now it's cleared up.
But I get this on simple_agent start:
Error opening specified endpoint "" Server Exiting with code 1
Do I understand right that I need to leave only
rocommunity secret 127.0.0.1
master agentx
in the [snmpd] section of .sh file?
same issue here :(