This remains more or less the same in disco, but with systemd config
files instead:

Mar 11 19:30:47 disco-snmp snmpd[2013]: /etc/snmp/snmpd.conf: line 145: 
Warning: Unknown token: defaultMonitors.
Mar 11 19:30:47 disco-snmp snmpd[2013]: /etc/snmp/snmpd.conf: line 147: 
Warning: Unknown token: linkUpDownNotifications.


In the /lib/systemd/system/snmpd.service file (this is now how one usually 
overrides a systemd service, but keeping it simple here):
- comment MIBS:
#Environment="MIBS="
- edit ExecStart and remove ",mteTrigger,mteTriggerConf":
ExecStart=/usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I 
-smux -f -p /run/snmpd.pid

# reload systemd:
sudo systemctl daemon-reload

# in /etc/snmp/snmp.conf, comment the "mibs" line, so it reads:
#mibs :

# install snmp-mibs-downloader:
sudo apt install snmp-mibs-downloader 

# restart snmpd:
sudo systemctl restart snmpd

Now the error is gone.


** Changed in: net-snmp (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: net-snmp (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/1384122

Title:
  SNMPD defaultmonitors not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1384122/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to