OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Cannot start snmpd service
« previous next »
  • Print
Pages: [1]

Author Topic: Cannot start snmpd service  (Read 8917 times)

eptesicus

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • View Profile
Cannot start snmpd service
« 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?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6347
  • Karma: 437
    • View Profile
Re: Cannot start snmpd service
« Reply #1 on: July 19, 2018, 06:49:28 pm »
Correct IPs for listening?
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

eptesicus

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • View Profile
Re: Cannot start snmpd service
« Reply #2 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.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6347
  • Karma: 437
    • View Profile
Re: Cannot start snmpd service
« Reply #3 on: July 19, 2018, 07:50:10 pm »
You have to enter the IP of the Firewall, like LAN IP
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

eptesicus

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • View Profile
Re: Cannot start snmpd service
« Reply #4 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.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6347
  • Karma: 437
    • View Profile
Re: Cannot start snmpd service
« Reply #5 on: July 19, 2018, 09:12:12 pm »
Can you try service snmpd start via console?
Do you have old bsnmpd Plugin installed?
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

eptesicus

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • View Profile
Re: Cannot start snmpd service
« Reply #6 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.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6347
  • Karma: 437
    • View Profile
Re: Cannot start snmpd service
« Reply #7 on: July 20, 2018, 05:18:40 pm »
system.log doesnt say anything?
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

eptesicus

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • View Profile
Re: Cannot start snmpd service
« Reply #8 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.
Logged

optimus_prime

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
Re: Cannot start snmpd service
« Reply #9 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?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6347
  • Karma: 437
    • View Profile
Re: Cannot start snmpd service
« Reply #10 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.
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: Cannot start snmpd service
« Reply #11 on: December 13, 2018, 02:31:59 pm »
I wanted to add my own experience moving from the old snmp plug-in to the new one (firewall running v18.7.9) - basically, reboot after uninstalling the old one. No matter what I did the firewall remained holding old connections to the configured IP and port. Rebooted and all was well.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Cannot start snmpd service
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2