Question

Linux disk space performance data only showing used

  • 2 March 2023
  • 7 replies
  • 124 views

Badge +2

I’m running the default linux snmp templace but I’m only getting the used performance data, I’m missing the total disk size.

 

EDIT: I’m trying to include the command and output, but as soon as I do my post gets rejected with a 403 error.


7 replies

Badge +2

I’m seeing the same behaviour with other checks as well, it’s showing performance data for everything except for the total amount of memory or disk space.

Example:

Performance data

'used'=573022208B;;;0;1926950912 'free'=1353928704B;;;0;1926950912 'used_prct'=29.74%;0:80;0:90;0;100 'buffer'=146075648B;;;0; 'cached'=1111093248B;;;0; 'shared'=53739520B;;;0;

Badge +2

Is this normal behavior? Our outdated Centreon install works perfectly fine.

Userlevel 4
Badge +14

Hi,

Could you post the definition of the command that you run ?

Maybe, you use the option --filter-perfdata https://github.com/centreon/centreon-plugins/blob/ec6537f9f5ab8f71e45026294c9015924e1a515b/src/centreon/plugins/output.pm#L1525 and you don’t have the integrality of the perf data.

Badge +2

See above, I tried the command in various ways, I’m getting the same with memory as well. The performance data onlu shows the used, and not total diskspace/memory.

Userlevel 4
Badge +14

Hi,

Yes, i see that on a lab for the memory.

Have you seen that https://github.com/centreon/centreon-plugins/issues/1417 ?

You could open an Issue on this repository, if you want an explanation.

Could you share the command about disk like indicated on your object, to see maybe the usage of the option --filter-perfdata ?

Badge +2

 

Userlevel 4
Badge +14

 

And your graph display the total value ?

I don't have the possibility to test it since my last reply..

Reply