Error fetching data for metricset linux.pageinfo

Hello,
I am using metricbeat 7.16.3 on centos 8 stream. The ‘pageinfo’ metricset in the linux module spams my logs with this error message:

ERROR        module/wrapper.go:259        Error fetching data for metricset linux.pageinfo: error reading pagetypeinfo: error parsing zone: : strconv.ParseInt: parsing "": invalid syntax

After deactivating the ‘pageinfo’ metricset the error message disappears. But this is in my opinion no solution for this issue, because this metricset is enabled by default and very common.

The metricset documentation points, that the metricset uses the files /proc/pagetypeinfo and /proc/buddyinfo. I cannot see any missing or uncommon values in them:

/proc/pagetypeinfo:
Page block order: 9
Pages per block:  512

Free pages count per migrate type at order       0      1      2      3      4      5      6      7      8      9     10
Node    0, zone      DMA, type    Unmovable      0      0      0      0      0      0      0      0      1      0      0
Node    0, zone      DMA, type      Movable      0      0      0      0      0      0      0      0      0      1      2
Node    0, zone      DMA, type  Reclaimable      0      0      0      0      0      0      0      0      0      0      0
Node    0, zone      DMA, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
Node    0, zone      DMA, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
Node    0, zone    DMA32, type    Unmovable    714    923    495    136     29      0      0      0      0      0      0
Node    0, zone    DMA32, type      Movable   5082   5229   4741   2189    652    508    163     28      0      3      0
Node    0, zone    DMA32, type  Reclaimable   4144   6662   2104    194     22      4      1      1      1      0      0
Node    0, zone    DMA32, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
Node    0, zone    DMA32, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
Node    0, zone   Normal, type    Unmovable    726   2598   2374    103      0      0      0      0      0      0      0
Node    0, zone   Normal, type      Movable >100000 >100000 >100000  47871   4865    639      6      0      0      0      0
Node    0, zone   Normal, type  Reclaimable      3   2150   1957   1019    342     16      0      0      0      0      0
Node    0, zone   Normal, type   HighAtomic     39     18     11      5      0      1      1      0      0      0      0
Node    0, zone   Normal, type      Isolate      0      0      0      0      0      0      0      0      0      0      0

Number of blocks type     Unmovable      Movable  Reclaimable   HighAtomic      Isolate
Node 0, zone      DMA            3            5            0            0            0
Node 0, zone    DMA32           22          422          420            0            0
Node 0, zone   Normal          967        30236          548            1            0
/proc/buddyinfo:
Node 0, zone      DMA      0      0      0      0      0      0      0      0      1      1      2
Node 0, zone    DMA32   9940  12814   7340   2519    703    512    164     29      1      3      0
Node 0, zone   Normal 115286 270697 202825  49006   5210    656      7      0      0      0      0

Has anybody the same issues with the pageinfo on centos 8 machines? Is it a bug or do I have to change configure settings on my system? What is the root cause of this issue?

Thank you for your help.

Does anybody operate metricbeat on CentOS 8 Stream and get the same log entries? Or Do you have a clean log on CentOS 8 Stream?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.