Skip to main content
Question

Linux disk space performance data only showing used

  • March 2, 2023
  • 7 replies
  • 194 views

Forum|alt.badge.img+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

Forum|alt.badge.img+2
  • Author
  • Steward *
  • March 3, 2023

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;


Forum|alt.badge.img+2
  • Author
  • Steward *
  • March 8, 2023

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


Forum|alt.badge.img+14
  • Builder ***
  • March 11, 2023

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.


Forum|alt.badge.img+2
  • Author
  • Steward *
  • March 13, 2023

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.


Forum|alt.badge.img+14
  • Builder ***
  • March 13, 2023

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 ?


Forum|alt.badge.img+2
  • Author
  • Steward *
  • March 14, 2023

 


Forum|alt.badge.img+14
  • Builder ***
  • March 14, 2023

 

And your graph display the total value ?

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