OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • SNMP regression: loss of support of BEGEMOT-PF-MIB
« previous next »
  • Print
Pages: [1]

Author Topic: SNMP regression: loss of support of BEGEMOT-PF-MIB  (Read 10210 times)

GLR

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
    • Tech blog
SNMP regression: loss of support of BEGEMOT-PF-MIB
« on: October 24, 2020, 11:19:22 pm »
Hi,
With the replacement of bsnmpd by net-snmp, we lost the support of the BEGEMOT-PF-MIB providing useful metrics related to PFilter.
That's sad...
Any way to support BEGEMOT-PF-MIB in net-snmp ?
Or does it mean that finally a bnsmpd plugin would be necessary ? In the previous version, we could run both SNMP daemons together...
« Last Edit: December 09, 2020, 09:57:49 pm by GLR »
Logged

pizzulicchio

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: SNMP regression: lost of support of BEGEMOT-PF-MIB
« Reply #1 on: December 09, 2020, 01:27:09 pm »
I'm migrating many installations from pfsense to opnsense but the lack of "BEGEMOT-PF-MIB" it's heavy for my monitoring.
Is it planned something?
Logged

Fright

  • Hero Member
  • *****
  • Posts: 1777
  • Karma: 164
    • View Profile
Re: SNMP regression: loss of support of BEGEMOT-PF-MIB
« Reply #2 on: December 10, 2020, 09:39:59 am »
Quote
Or does it mean that finally a bnsmpd plugin would be necessary ?
think so
it depends on what OIDs you need
in simple cases you can use PASS-THROUGH CONTROL in smtpd.conf and scripts to get info from pfctl
tested on states count (1.3.6.1.4.1.12325.1.200.1.3.1 if im right):
Code: [Select]
10.12.2020 11:38:35 (14 ms) : SNMP v2c
10.12.2020 11:38:35 (18 ms) : Custom OID .1.3.6.1.4.1.12325.1.200.1.3.1
10.12.2020 11:38:36 (70 ms) : SNMP Datatype: ASN_INTEGER
10.12.2020 11:38:36 (73 ms) : -------
10.12.2020 11:38:36 (77 ms) : Value: 304
10.12.2020 11:38:36 (81 ms) : Done
Code: [Select]

# snmpwalk -v2c -copnsense 172.17.1.101 .1.3.6.1.4.1.12325.1.200.1.3.1
SNMPv2-SMI::enterprises.12325.1.200.1.3.1 = INTEGER: 338
Error: OID not increasing: SNMPv2-SMI::enterprises.12325.1.200.1.3.1
 >= SNMPv2-SMI::enterprises.12325.1.200.1.3.1

« Last Edit: December 10, 2020, 09:46:14 am by Fright »
Logged

dnll

  • Newbie
  • *
  • Posts: 23
  • Karma: 2
    • View Profile
Re: SNMP regression: loss of support of BEGEMOT-PF-MIB
« Reply #3 on: July 17, 2022, 08:04:21 pm »
I'm aware this thread is 2 years old but... is there any solution to this?

I did try to uncomment the following line an restart the service without any success:
Code: [Select]
[root@router ~]# grep -i pf /etc/snmpd.config
# pf(4) module
#begemotSnmpdModulePath."pf"    = "/usr/lib/snmp_pf.so"
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • SNMP regression: loss of support of BEGEMOT-PF-MIB
 

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