查询snmptrapd状态的时候有如下提示:

[root@SeafileServer ~]# systemctl status snmptrapd
● snmptrapd.service - Simple Network Management Protocol (SNMP) Trap Daemon.
   Loaded: loaded (/usr/lib/systemd/system/snmptrapd.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2021-05-18 20:53:15 CST; 7s ago
 Main PID: 8507 (snmptrapd)
   CGroup: /system.slice/snmptrapd.service
           └─8507 /usr/sbin/snmptrapd -Lsd -f

May 18 20:53:15 SeafileServer systemd[1]: Starting Simple Network Management Protocol (SNMP) Trap Daemon....
May 18 20:53:15 SeafileServer snmptrapd[8507]: Warning: no access control information configured.
                                                 (Config search path: /etc/snmp:/usr/share/snmp:/usr/lib64/snmp)
                                               This receiver will *NOT* accept any incoming notifications....
May 18 20:53:15 SeafileServer snmptrapd[8507]: NET-SNMP version 5.7.2
May 18 20:53:15 SeafileServer systemd[1]: Started Simple Network Management Protocol (SNMP) Trap Daemon..
Hint: Some lines were ellipsized, use -l to show in full.

解决方法

vim /etc/snmp/snmptrapd.conf:

disableAuthorization yes
最后修改:2021 年 05 月 18 日 10 : 36 PM
如果觉得我的文章对你有用,请随意赞赏