OPNsense Forum

English Forums => 18.1 Legacy Series => Topic started by: eptesicus on July 19, 2018, 06:28:43 pm

Title: Cannot start snmpd service
Post by: eptesicus on July 19, 2018, 06:28:43 pm
I installed the os-net-snmp plugin, but the service is unable to run. I've attempted to reinstall without resolution. I'm running 18.1.12 and have os-net-snmp 1.0_1 installed.

Jul 19 12:21:18    root: /usr/local/etc/rc.d/snmpd: WARNING: failed to start snmpd

Thoughts on getting snmp running?
Title: Re: Cannot start snmpd service
Post by: mimugmail on July 19, 2018, 06:49:28 pm
Correct IPs for listening?
Title: Re: Cannot start snmpd service
Post by: eptesicus on July 19, 2018, 07:40:49 pm
I've entered 10.0.0.30 which is the workstation that I'm trying to test snmpwalk at the moment, and I've also tried other IPs, as well as 10.0.0.0/20 to allow all local traffic. The service still fails to start.
Title: Re: Cannot start snmpd service
Post by: mimugmail on July 19, 2018, 07:50:10 pm
You have to enter the IP of the Firewall, like LAN IP
Title: Re: Cannot start snmpd service
Post by: eptesicus on July 19, 2018, 08:08:23 pm
The service continues to fail to start with the LAN (10.0.0.1) IP set as the Listen IPs.
Title: Re: Cannot start snmpd service
Post by: mimugmail on July 19, 2018, 09:12:12 pm
Can you try service snmpd start via console?
Do you have old bsnmpd Plugin installed?
Title: Re: Cannot start snmpd service
Post by: eptesicus on July 20, 2018, 01:35:48 pm
I've tried starting the service via console, and get the same error. I had bsnmpd installed previously (not any longer), but I was never able to get that to work, even though I was able to get that service to start.
Title: Re: Cannot start snmpd service
Post by: mimugmail on July 20, 2018, 05:18:40 pm
system.log doesnt say anything?
Title: Re: Cannot start snmpd service
Post by: eptesicus on July 21, 2018, 05:15:28 pm
No. I reinstalled os-snmp, and the service starts up fine, but no matter what I do, I'm unable to get anything on my network to poll SNMP from the firewall.
Title: Re: Cannot start snmpd service
Post by: optimus_prime on August 05, 2018, 02:36:47 am
I'm having the same issue after moving to net-snmp. My log has an error:
root: /usr/local/etc/rc.d/snmpd: WARNING: failed to start snmpd
after putting in any value other than 127.0.0.1. the old snmp plugin worked fine with my current monitoring setup. have no idea why its not working?
Title: Re: Cannot start snmpd service
Post by: mimugmail on August 05, 2018, 08:11:00 am
You have to set valid IP addresses. Flush old config and remove plugin (stopping the service and then remove).
Normally there shouldn't be a problem.