Exclude DPM volume mounts in check_drivesize???
Posted: Mon Apr 06, 2020 6:53 pm
All,
So I have tried this 40 ways from sunday and I cannot get check_drivesize to exclude DPM volume mounts. DPM uses a folder structure like this: "C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\volXXXXXXXXXXXXXXXXXXXXXX"
Drive, name, volume, exclude, AND not like, type not in...i have tried variations of them all and it just keeps alerting like below:
I have tried variations of all of the following (below are just some samples of stuf I have tried)and cannot get it to exclude it; can someone help a man out here please...this is driving me nuts! LOL
So I have tried this 40 ways from sunday and I cannot get check_drivesize to exclude DPM volume mounts. DPM uses a folder structure like this: "C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\volXXXXXXXXXXXXXXXXXXXXXX"
Drive, name, volume, exclude, AND not like, type not in...i have tried variations of them all and it just keeps alerting like below:
Code: Select all
CRITICAL C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\vol_4e176420-3431-4aba-8bca-0798d82b0460\: 108.305GB/120GB used, C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\vol_9e0632e4-d0f2-4cd4-8a32-1d4c363eec0c\: 69.161GB/82.344GB used, C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\vol_1660a37c-3c60-4f77-8092-ccf7a3a6e669\: 97.672GB/115.42GB used, C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\vol_7ce9976c-6150-4217-97ee-3ec966ed1ac3\: 46.725GB/55GB used, C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\vol_ff45fe88-daa2-40ad-905d-be760edd34c9\: 63.102GB/75GB used|'C:\ used'=86.22318GB;371.92499;418.41562;0;464.90624 'C:\ used %'=19%;80;90;0;100 'C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\Replica\File System\vol_2f9cc040-c4fd-48e8-b3c7-0a383e174e53\ used'=14.68879GB;35.99999;40.49999;0;44.99999 'C:\ProgCode: Select all
/usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_drivesize -a "filter=type in ('FIXED') AND name not like '\?\' AND name not like '\\?\'"Code: Select all
/usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_drivesize -a "filter=type in ('FIXED') AND name not like'\?\'" "exclude=\\?"Code: Select all
/usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_drivesize -a "filter=type in ('FIXED') AND drive not like '\?\' AND drive not like '\\?\'"Code: Select all
/usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_drivesize -a "filter=type in ('FIXED')" "exclude=C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\*"Code: Select all
/usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_drivesize -a "filter=type in ('FIXED') AND volume not like'\?\' AND volume not like'\\?\'"Code: Select all
/usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_drivesize -a "filter=type in ('FIXED') exclude="C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\Volumes\*"Code: Select all
/usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_drivesize -a "filter=type not in ('CDROM', 'REMOVABLE')" exclude="\\?" exclude="System Reserved"