Skip to main content

Hello,

 

Maybe it’s a stupid question but I don’t find the good syntax.

I try to monitor all disks EXCEPT E: drive from a Windows Server in NRPE3.

My command:

/usr/lib64/nagios/plugins/check_centreon_nrpe3 -H 10.216.0.7 -p 5666 -t 30 -u -2 -P 8192  -c check_drivesize -a "drive=*" "perf-config=used(unit:B)used %(ignored:true)" "filter=type = 'fixed' and name not regexp '.*yst.*'" "warning=total_used>90%" "critical=total_used>95%" 

 

When I use the arg Exclude=e:, it works.

 

But how to add this argument in the console to parameter the service?

When I just add

It isn’t taking in count.

 

Can you help me?

 

Laurent

Ok, I found a workaround and used a filter:

 

and drive not regexp '.*E.*'

 

Regards,

 

Laurent


Reply