OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [WORKAROUND] 17.1.r1 and snmpd not installed
« previous next »
  • Print
Pages: [1]

Author Topic: [WORKAROUND] 17.1.r1 and snmpd not installed  (Read 6381 times)

phoenix

  • Hero Member
  • *****
  • Posts: 506
  • Karma: 55
    • View Profile
[WORKAROUND] 17.1.r1 and snmpd not installed
« on: January 20, 2017, 02:09:47 pm »
I've just done a clean install and settings import for the rc1 release, all is working fine except that I couldn't find snmp in the services section. A quick check showed that it wasn't installed, is that intentional?

I did install snmp at this point and it's running fine but the problem I reported on the beta version still exists, if I enable the Host Resources module then the CPU use goes straight to 100%. All the other modules can be enabled without and CPU use problems but the Host Resources on it's own or with the other modules puts the CPU into overdrive. Anything that can be done to find out what's causing this problem or should a file a bug for it?

Other than that, well done to all the team for the great work on this release. :)
« Last Edit: January 22, 2017, 05:01:34 pm by franco »
Logged
Regards


Bill

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #1 on: January 20, 2017, 03:05:57 pm »
Well, if you'd read the announcement then you would have seen SNMP is now a plugin ;-)
https://forum.opnsense.org/index.php?topic=4295.msg15985#new
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #2 on: January 20, 2017, 03:06:38 pm »
btw, I saw Will` on IRC mentioning the high CPU issue as well.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

phoenix

  • Hero Member
  • *****
  • Posts: 506
  • Karma: 55
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #3 on: January 20, 2017, 03:13:31 pm »
Quote from: weust on January 20, 2017, 03:05:57 pm
Well, if you'd read the announcement then you would have seen SNMP is now a plugin ;-)
https://forum.opnsense.org/index.php?topic=4295.msg15985#new
I did read it but not in enough detail, I was too busy checking the other 'problems' had gone - at least that my excuse for today. ;D

Thanks for pointing me to that.
Logged
Regards


Bill

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1175
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #4 on: January 20, 2017, 03:16:05 pm »
Hi guys,

We'll look into the high CPU issue after 17.1 is out. I know that FreeBSD recently added a lot of changes to their SNMP, there may be something there.


Cheers,
Franco
Logged

will

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #5 on: January 21, 2017, 01:42:31 pm »
Just to add what I'm seeing for SNMP / Host resources:

With just SNMP enabled the process consumes 0.1-0.2% CPU.

With all modules except host resources enabled 0.2-0.3% CPU.

With just host resources module 20-30% CPU spiking up to 90% utilisation when the device is queried.


My test setup:
PC Engines APU
SNMP is listening only on one interface (LAN)
17.1.r1 though I noticed this behaviour was also present in 17.1.b
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 506
  • Karma: 55
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #6 on: January 21, 2017, 01:56:02 pm »
Those figures are pretty much what I see except that when Host Resources is enabled I'm seeing 100% cpu usage, that consists of 80-95% system and the remainder is user%. As I mentioned before, it makes no difference if Host Resources is enabled on it's own (with the required MibII) or all the services are enabled - if I disable just the Host Resources the cpu usage immediately drops to 1-5%.
Logged
Regards


Bill

eyedrops

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #7 on: January 21, 2017, 05:04:52 pm »
I had this issue, and did some digging.   It looks like it's this in freebsd:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215471

And another reference:
https://redmine.pfsense.org/issues/6882
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1175
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #8 on: January 21, 2017, 05:53:02 pm »
Quite nasty. Thanks for the pointers. I'll keep this in CC.
Logged

tillsense

  • Sr. Member
  • ****
  • Posts: 308
  • Karma: 48
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #9 on: January 21, 2017, 06:45:59 pm »
ups.. well to read this. thanks!
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 506
  • Karma: 55
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #10 on: January 21, 2017, 07:25:23 pm »
Quote from: eyedrops on January 21, 2017, 05:04:52 pm
I had this issue, and did some digging.   It looks like it's this in freebsd:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215471

And another reference:
https://redmine.pfsense.org/issues/6882
That's interesting and I can confirm the FreeBSD Bugzilla – Bug 215471 as the problem on my VM. I connceted the cd/dvd drive and enabled the Host Resources in SNMP and Bingo! cpu usage stays at 1-5% - I'll leave it in that state overnight just to see if anything else happens.
Logged
Regards


Bill

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1175
    • View Profile
Re: 17.1.r1 and snmpd not installed
« Reply #11 on: January 22, 2017, 05:01:20 pm »
Problem is Will had issues on an APU hardware. Still need to investigate.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [WORKAROUND] 17.1.r1 and snmpd not installed
 

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