Last active
February 21, 2025 12:07
-
-
Save luukverhoeven/7013661199a19174a6d1312d18445a9e to your computer and use it in GitHub Desktop.
# Fix error on subcontainer 'ia_addr' insert (-1) - debian 9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get remove --purge snmpd | |
apt-get install snmpd | |
apt-get install snmp-mibs-downloader | |
sed -i "s|-Lsd|-LS4d|" /etc/default/snmpd | |
sed -i "s|-Lsd|-LS4d|" /lib/systemd/system/snmpd.service | |
systemctl daemon-reload | |
service snmpd restart | |
# Restart | |
systemctl daemon-reload | |
service snmpd restart | |
# Monitor | |
journalctl -u snmpd --follow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment