Closed mzac closed 4 years ago
It's changed, your snmpd.conf has to now be extend raspberry sudo /etc/snmp/raspberry.sh
or similar.
Even then it's still not actually populating graphs for me, but that's your first issue.
It's changed, your snmpd.conf has to now be
extend raspberry sudo /etc/snmp/raspberry.sh
or similar.Even then it's still not actually populating graphs for me, but that's your first issue.
It looks like I had to use the path for sudo as just using sudo didn't work
extend raspberry /usr/bin/sudo /opt/librenms-agent/snmp/raspberry.sh
That fixed it for me too, thanks!
I updated a few of my raspberry pi's to the latest commit and since commit dc9695641b0e2b9ff160bf3b4d6916896e704c91 I am getting errors with the raspberry.sh while using the snmp extend:
The script runs fine as root but does not work when running as the Debian-snmp user even if the sudoers file has the right settings: