Question

Widnows NSClient Disks - Exclude system and recovery partitions

  • 24 May 2023
  • 1 reply
  • 193 views

Badge

How can I exlude the system and recovery partitions from the check.

Here is the executed command:

/usr/lib/centreon/plugins//centreon_nsclient_restapi.pl --plugin=apps::nsclient::restapi::plugin --mode=query --hostname='192.60.28.109' --port='8443' --proto='https' --legacy-password='***' --ssl-opt="SSL_verify_mode => SSL_VERIFY_NONE" --command=check_drivesize --arg="drive=*" --arg="perf-config=used(unit:B)used %(ignored:true)" --arg="filter=type = 'fixed' and name not regexp '.*yst.*'" --arg="warning=total_used>80%" --arg="critical=total_used>90%" 


1 reply

Badge +2

Hi,

Can you try:

--arg="drive=all-drives"

Reply