Skip to main content
Question

Widnows NSClient Disks - Exclude system and recovery partitions

  • May 24, 2023
  • 1 reply
  • 414 views

Forum|alt.badge.img

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

Forum|alt.badge.img+3
  • Steward *
  • May 25, 2023

Hi,

Can you try:

--arg="drive=all-drives"