Documentation
DiskCount-Check
Checks for the number of disks matching specific criteria.
Usage
$ check_netapp_pro.pl DiskCount -H <host> --storage_pool=<pool> --container_type=spare --disk_type=SSD|BSAS|... [--help] [...]
Description
This plugin checks for the number of disks which are of a certain type, in a certain storage-pool or container. These criteria are ANDed - so a disk is only counted if it matches every criteria.
The thresholds (--warning
, --critical
) are less-than compared - so alarms
are sent, if the number of a certain disk-species falls below that number.
A typical usage of that check is to assure that SSD spare-disks do not fall below 1 (or any other number you are willing to invest).
Simple Examples
Sends a critical alarm, if the number of SSD-spare-disks falls below 1.
Same as above but sends a warning instead of a critical alarm.
Sends a critical alarm, if the number of SSD-spare-disks in pool p1 falls below 1.
Sends a critical alarm, if the number of BSAS-spare-disks falls below 2.
Lists all disks - not very usefull as check but may be helpfull during configuration.