Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't reach subagent from system-wide level #47

Open
Artyrm opened this issue Nov 8, 2020 · 3 comments
Open

Can't reach subagent from system-wide level #47

Artyrm opened this issue Nov 8, 2020 · 3 comments

Comments

@Artyrm
Copy link

Artyrm commented Nov 8, 2020

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?

@Artyrm
Copy link
Author

Artyrm commented Nov 8, 2020

I ran
snmpd -f -L -Dagentx

And there is no reaction once I sun simple_agent.

@Artyrm
Copy link
Author

Artyrm commented Nov 8, 2020

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?

@Koxx3
Copy link

Koxx3 commented Aug 6, 2021

same issue here :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants