SNMP is broken? #1165
-
Checklist
VersionRaspbian and Raspberry Pi OS from buster-based to current version, both desktop and lite, both 32 and 64 bit. Genmon 1.19.03 Have you submitted your log files from the About page? Note that outbound email must be working for logs to be submitted.I have not submitted logs What is/are your question(s)?Hey all When I run ./startgenmonmaint.sh stop, I always get a "No such process" error directly after "stopping genmon.py" Is there something obvious I'm missing? I've searched high and low, and apparently nobody else is having this issue, but any input any of you have... I'll try it. FWIW, these will be monitoring Generac Nexus-based devices, but until I get SNMP to work, I'm just bench testing them on my desk. When I do the full install and take them to the site, everything works as expected except that we can't SNMPwalk them, and our LibreNMS instance can't see them. Thanks! Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
SNMP is working for me on both 32 and 64 bit platforms. If you want to send your logs I can take a look at them. How are you installing genmon? Are you following the instructions here: https://github.com/jgyates/genmon/wiki/3.3--Setup-genmon-software Regarding this statement: "When I run ./startgenmonmaint.sh stop, I always get a "No such process" error directly after "stopping genmon.py" This would indicate that genmon is not loaded. If you are having and issue loading genmon, then the SNMP add on will not work. What is the output of /var/log/genmon.log and /var/log/gensnmp.log? |
Beta Was this translation helpful? Give feedback.
-
I attempted this again and took detailed notes (documentation.txt, attached). In a nutshell, I did install following the instructions provided. The genmon process itself does work, and work as expected. Meaning if I take the current build on my desk and test it at our site, it would do everything we need it to... Except communicate via snmp. I mistyped what I said previously... the "No such process" comes directly after "stopping gensnmp.py." When I try to run 'python3 gensnmp.py', I get the following: In addition to my notes, I'm attaching genmon.log, as requested. There is no gensnmp.log file. I ran the script with a tee command to dump the output of the install script into a log so I'll include that as well. Thanks for this awesome project and community! |
Beta Was this translation helpful? Give feedback.
I did some testing and updated to the latest version of pysnmp and I think I found the issue. With pysnmp version 6.x it appears they have changed some of the internal locations of functions. I updated the genmon requirements file to only use pysnmp version 5.1.0. You can update to the latest from the command prompt with these two commands:
first to update your github repo to get my latest change, from the genmon folder type:
Then to refresh your libaries that genmon uses type:
If you started any programs manually (i.e. not with startgenmon.sh then reboot) otherwise type this to restart genmon:
Let me know how it goes…