Ubuntu 18.04
¾Æ·¡ ¸µÅ©¸¦ Åä´ë·Î ÀÛ¾÷À» Çصµ µ¿ÀÏ
# systemctl status snmpd
¡Ü snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/lib/systemd/system/snmpd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-10-30 09:54:49 KST; 1s ago
Process: 32388 ExecStartPre=/bin/mkdir -p /var/run/agentx (code=exited, status=0/SUCCESS)
Main PID: 32390 (snmpd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/snmpd.service
¦¦¦¡32390 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f
Oct 30 09:54:49 hl-209-94 systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon....
Oct 30 09:54:49 hl-209-94 systemd[1]: Started Simple Network Management Protocol (SNMP) Daemon..
Oct 30 09:54:49 hl-209-94 snmpd[32390]: error on subcontainer 'ia_addr' insert (-1)
Oct 30 09:54:49 hl-209-94 snmpd[32390]: error on subcontainer 'ia_addr' insert (-1)
Oct 30 09:54:49 hl-209-94 snmpd[32390]: NET-SNMP version 5.7.3
# vim /lib/systemd/system/snmpd.service
...................
ExecStartPre=/bin/mkdir -p /var/run/agentx
ExecStart=/usr/sbin/snmpd -LS6d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf -f
ExecReload=/bin/kill -HUP $MAINPID
...................
# systemctl daemon-reload