Documentation
PerfVolume-Check
Checks a volumes latency or operations/second.
Usage
$ check_netapp.pl PerfVolume -H <hostname|IP> -u <user%pass> -z avg_latency|total_ops|... -n <name> -w -c [--help] [...]
Description
This plugin checks various latency- and ops-counters per volume. The counters supported by this plugin are: other_latency, other_ops, total_ops, read_latency, avg_latency, write_latency, write_ops, read_ops WHICH COUNTERS CAN I MONITOR? Short answer: use --explore=counters Long answer: Not all counters are supported on every system. The plugin will tell you, if you have chosen a non-existing counter and exit with UNKNOWN. To get a list of supported counters, available on the particular system use --explore=counters. Consider using -v for debugging, if you are not satisfied with the result.
Simple Examples
Note: The '-u' switch is missing in all the following examples, so the filer-credentials are taken from the default-file: '/usr/local/nagios/etc/netapp_credentials'
$ check_netapp PerfVolume -H filer --explore=counters
List all available and supported counters on the target system.
$ check_netapp PerfVolume -H filer -w 10µs -c 20µs -n vol0
Check the average latency (default-counter) on vol0. Warn if latency is greater than 10 µs. (Check your perf-data. If you are having any troubles with the greek letter µ, replace it with the variable $MICRO_SECOND in the NagTools2.pm)
$ check_netapp PerfVolume -H filer -w 10µs -c 20µs
Check the average latency (default-counter) on all volumes.
$ check_netapp PerfVolume -H filer -w 10µs -c 20µs -X bak
Check the average latency (default-counter) on all volumes, but not if their name ends with 'bak'. Please read the help of the Usage-module for more examples about the --include and --exclude-switches.
$ check_netapp PerfVolume -H filer -w 10µs -c 20µs -n vol0 -z read_latency
Check the read latency on vol0. Warn if latency is greater than 10 µs
$ check_netapp PerfVolume -H filer -w 10 -c 20 -n vol0 -z read_latency
Same as above, but auto-detecting the unit. Please read the help section about --warning to understand the effect this feature might have on the performance.