CMK version: Checkmk Raw Edition 2.3.0p10
OS version: Debian GNU/Linux 12 (bookworm)
We have a problem that not all info that is possible to be sent from pfSense is seen in Check_MK. An example is drive usage. From Netgate support we see that this is supported. docs.netgate.com/pfsense/en/latest/services/snmp.html#:~:text=about%20memory%20usage%2C-,disk%20usage,-%2C%20running%20programs%2C%20and
The SNMP service that we use on pfSense is bsnmpd
We have copied the MiBs of pfSense to what we assume is the correct folder on Check_MK, but we still do not see drive usage…
MiBs: files.pfsense.org/jimp/mibs/
What can we do to resolve this?
Anders
(Anders)
May 8, 2025, 4:50pm
2
Generally checkmk does not read MIBs - its not used for any collection at all
r.sander
(Robert Sander)
May 8, 2025, 4:55pm
3
New SNMP check plugins need to be implemented.
If it really is using the UCD MIB tree then you should see it.
First i would check if the UCD tree is visible if you do an SNMPwalk on the device IP. For UCD disk you should see something under .1.3.6.1.4.1.2021.9.1
If this data is present the ucd_disk check should see it.
Glowsome
(Michael Honkoop)
May 8, 2025, 10:54pm
5
I monitor my pfSense-box/server ( v2.7.2 ) on HP hardware via SNMP.
Never did anything with .mib files when i set it up on monitoring.
It just worked out of the box, and generated 33 services.
What exactly do you mean with ‘Drive usage’ ?
Below is what i get regarding drives:
PS.
I also monitor this server’s iLo via the Redfish plugin, adding services up to a total of 85, so i get additional data, but SNMP generates the mentioned 33 services.
Thanks to all!
With snmpwalk from the machine where Check_MK is installed we see the information, for example:
# snmpwalk -Os -c *** -v 2c 192.168.1.2 .1.3.6.1.4.1.2021.9.1
[...]
dskPercent.1 = INTEGER: 2
dskPercent.2 = INTEGER: 0
dskPercent.3 = INTEGER: 0
dskPercent.4 = INTEGER: 0
dskPercent.5 = INTEGER: 0
dskPercent.6 = INTEGER: 0
dskPercent.7 = INTEGER: 30
dskPercent.8 = INTEGER: 0
dskPercent.9 = INTEGER: 0
dskPercent.10 = INTEGER: 0
dskPercent.11 = INTEGER: 1
dskPercent.12 = INTEGER: 0
dskPercent.13 = INTEGER: 0
dskPercent.14 = INTEGER: 7
[...]
However, this information does not appear in Check_MK.
What happens if you do a “cmk --debug -vvI pfsensehost” on command line.
Hi and sorry for replying after so long, but I missed the notification.
From the command output it seems that .1.3.6.1.4.1.2021.9.1 does not appear: is there a way to insert it somewhere?
Thanks,
Matteo
pfsense-checkmk-snmp.txt (208.2 KB)