Hi Team,
I followed the instructions for
I am using Centos7 for my servers which led me to:
- https://web.archive.org/web/20171203052501/http://dumrouser username AuthPrivp.4network.eu/index.php/2013/03/19/347/
1/3 servers worked, but I don't know what I'm doing wrong.
This is the error I get when I am trying to start the snmpd service:
[root@nz1 snmp]# systemctl status snmpd.service ● snmpd.service - Simple Network Management Protocol (SNMP) Daemon. Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2018-08-03 09:33:57 AEST; 7min ago Main PID: 22741 (code=exited, status=1/FAILURE) Aug 03 09:33:57 nz1.x systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon.... Aug 03 09:33:57 nz1.x snmpd[22741]: Duplicate IPv4 address detected, some interfaces may not be visible in IP-MIB Aug 03 09:33:57 nz1.x snmpd[22741]: Error opening specified endpoint "" Aug 03 09:33:57 nz1.x snmpd[22741]: Server Exiting with code 1 Aug 03 09:33:57 nz1.x systemd[1]: snmpd.service: main process exited, code=exited, status=1/FAILURE Aug 03 09:33:57 nz1.x systemd[1]: Failed to start Simple Network Management Protocol (SNMP) Daemon.. Aug 03 09:33:57 nz1.x systemd[1]: Unit snmpd.service entered failed state. Aug 03 09:33:57 nz1.x systemd[1]: snmpd.service failed. [root@nz1 snmp]# systemctl start snmpd.service Job for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details. Aug 03 10:24:54 nz1.x systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon.... -- Subject: Unit snmpd.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit snmpd.service has begun starting up. Aug 03 10:24:54 nz1.x snmpd[28693]: Duplicate IPv4 address detected, some interfaces may not be visible in IP-MIB Aug 03 10:24:54 nz1.x snmpd[28693]: Warning: no access control information configured. (Config search path: /etc/snmp:/usr/share/snmp:/usr/lib64/snmp) It's unlikely this agent can serve any useful purpose in this state. Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent. Aug 03 10:24:54 nz1.x snmpd[28693]: Error opening specified endpoint "" Aug 03 10:24:54 nz1.x snmpd[28693]: Server Exiting with code 1 Aug 03 10:24:54 nz1.x systemd[1]: snmpd.service: main process exited, code=exited, status=1/FAILURE Aug 03 10:24:54 nz1.x systemd[1]: Failed to start Simple Network Management Protocol (SNMP) Daemon.. -- Subject: Unit snmpd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit snmpd.service has failed. -- -- The result is failed. Aug 03 10:24:54 nz1.x systemd[1]: Unit snmpd.service entered failed state. Aug 03 10:24:54 nz1.x systemd[1]: snmpd.service failed. Aug 03 10:24:54 nz1.x polkitd[2806]: Unregistered Authentication Agent for unix-process:28687:181076393 (system bus name :1.1084, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected f Aug 03 10:24:54 nz1.x dhclient[28655]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17 (xid=0x6ee3cc90)
My /etc/snmp/snmpd.conf has:\
rocommunity public syslocation "IT Department" syscontact [email protected]
I'm not sure if there's anything I missed. Can you help me?
Thanks,
Kind Regards,
Daniel
Add comment