Archive > 20.7 Legacy Series

SNMP regression: loss of support of BEGEMOT-PF-MIB

(1/1)

GLR:
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...

pizzulicchio:
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?

Fright:

--- Quote ---Or does it mean that finally a bnsmpd plugin would be necessary ?
--- End quote ---
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: ---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

--- End code ---

--- Code: ---
# 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


--- End code ---

dnll:
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: ---[root@router ~]# grep -i pf /etc/snmpd.config
# pf(4) module
#begemotSnmpdModulePath."pf"    = "/usr/lib/snmp_pf.so"

--- End code ---

Navigation

[0] Message Index

Go to full version