Puppet-Finland / net-snmp-systemd-service-status

A Net-SNMP "pass" extension script that generates "is service up" data for all detected systemd services
BSD 2-Clause "Simplified" License
4 stars 1 forks source link

snmpwalk gives "No more variables left in this MIB View (It is past the end of the MIB tree)" #3

Open srahl-wcc opened 1 month ago

srahl-wcc commented 1 month ago

I've followed instructions in the README.md file. However, I'm getting the following:

root@itsputil01:~ $ snmpwalk -v 3 -u snmp-rw-user -l authPriv -a SHA -x AES -A <redacted> -X EncryptPass localhost .1.3.9950.1 SNMPv2-SMI::org.9950.1 = No more variables left in this MIB View (It is past the end of the MIB tree) root@itsputil01:~ $ snmpwalk -v 3 -u snmp-rw-user -l authPriv -a SHA -x AES -A <redacted> -X EncryptPass -c public localhost .1.3.9950.1 SNMPv2-SMI::org.9950.1 = No more variables left in this MIB View (It is past the end of the MIB tree)

Please see the attached snmpd.conf. Any ideas? itsputil01_snmpd_conf.tgz

srahl-wcc commented 1 month ago

I have removed the following line from snmpd.conf and restarted the daemon, but there was no change in behavior.

view systemview included .1.3.9950.1

srahl-wcc commented 1 month ago

When I run the script, it hangs. When I run the following command, it works fine:

systemctl list-units -a -t service --no-legend

srahl-wcc commented 1 month ago

$ python -V && python3 -V Python 3.9.18 Python 3.9.18