我安装了net-snmp,snmpd,snmp。我遵循了这些指南:
How To Install and Configure an SNMP Daemon and Client on Ubuntu 14.04
Layer 3 networking blog: Installing net-snmp MIBs on Ubuntu and Debian
我收到此错误:
systemctl status snmpd
● snmpd.service
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
bkn systemd[1]: [/etc/systemd/system/snmpd.service:11] Assignment outside of section. Ignoring.
bkn systemd[1]: snmpd.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
bkn systemd[1]: [/etc/systemd/system/snmpd.service:5] Assignment outside of section. Ignoring.
bkn systemd[1]: [/etc/systemd/system/snmpd.service:5] Assignment outside of section. Ignoring.
bkn systemd[1]: [/etc/systemd/system/snmpd.service:8] Assignment outside of section. Ignoring.
bkn systemd[1]: [/etc/systemd/system/snmpd.service:11] Assignment outside of section. Ignoring.
bkn systemd[1]: snmpd.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
我该如何解决?