F2FS partition bug with net-snmp (Issue 111)

Greg M <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <SYAPR01MB23527E7543CB7EFAC7A84F038C940@SYAPR01MB2352.ausprd01.prod.outlook.com>
Hi Team,

I've put a bug in Github a few weeks back without fully understanding it. At first I thought it was config, or related to NVME drives however it turns out net-snmp does not recognise the F2FS partition format.

A very basic example of this is on one of my servers that have a rootfs with btrfs, and a mount "/cache" as f2fs:

Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p3  451G  6.7G  444G   2% /
/dev/sda1       3.8T  1.4T  2.5T  36% /cache


My /etc/snmp/snmpd.conf is also basic:
rocommunity public

disk /
disk /cache/

Yet a walk cannot see the F2FS partition/mount
snmpwalk -v 2c -c public localhost dsktable
UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/nvme0n1p3
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: 100000
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: -1
UCD-SNMP-MIB::dskTotal.1 = INTEGER: 472268800
UCD-SNMP-MIB::dskAvail.1 = INTEGER: 464625932
UCD-SNMP-MIB::dskUsed.1 = INTEGER: 6968036
UCD-SNMP-MIB::dskPercent.1 = INTEGER: 1
UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 0
UCD-SNMP-MIB::dskTotalLow.1 = Gauge32: 472268800
UCD-SNMP-MIB::dskTotalHigh.1 = Gauge32: 0
UCD-SNMP-MIB::dskAvailLow.1 = Gauge32: 464625932
UCD-SNMP-MIB::dskAvailHigh.1 = Gauge32: 0
UCD-SNMP-MIB::dskUsedLow.1 = Gauge32: 6968036
UCD-SNMP-MIB::dskUsedHigh.1 = Gauge32: 0
UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: noError(0)
UCD-SNMP-MIB::dskErrorMsg.1 = STRING:


We are rolling out F2FS on all of our flash-enabled systems (which enables significant performance and durability improvements on Flash media) and need assistance resolving this bug so we can resume monitoring of these partitions.

Thanks,

Greg

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.