Check_drivesize: discard percent


Hello everyone.


  • NSClient++ on Windows 2008 R2
  • Centreon 2.8 on CentOS 7.6

I want to have WARNING and CRITICAL level printed on graphs. It seems that this is only possible if only one curve is plotted. Hence, on disk/partition usage checks, I’d like to get rid of percent values, and only keep MB/GB/TB curves.

I can’t manage to find the correct check command syntax, given that I must confess I do not understand the doc. Having read posts here, I think that the answer lies in perf-config or perf-syntax argument, but how to construct it?

Right now, I simply use: $USER1$/check_centreon_nrpe -H $HOSTADDRESS$ -u -c check_drivesize -a drive=$ARG1$ warning=free<$ARG2$G critical=free<$ARG3$G show-all

Is it simply possible?



I use this for a process check which is similar -

“perf-config=ws_size(unit:m) state(ignored:true)”

This doesn’t plot the “state” graph and plots the memory working size instead with the units ‘mb’


Thank you, Brick. Sorry I only find your answer now. Anyway, I still do not understand anything about perf-config. Never mind.