check_netapp_pro already provides a way to flag volumes which do not have snapshots at all. The check SnapshotLessVolume just looks for the size used by snapshots and if that size is equal to 0 it will raise an alarm.
Lately, while working on a check for snapmirrors, I found some attributes from which we could derive …
The present version of the Snapshots -check already understood the filtering parameter --check_only=no_reserve|with_reserve. Based on a customer request we implemented now the ability to add an additional filter for selecting volumes with or without LUN. Example: $ ./check_netapp_pro Snapshots -H filer …
If you are checking your filer with the Snapshots plugin, you may get an error like: Can't call method "attr" on an undefined value at /opt/.../lib/nagios/plugins/check_netapp_pro/checks/Snapshots.pm line 289. The reason for this is, that the SnapDrive application creates flexclones, which are created, …
Wit the next release, SnapshotLessVolumes will receive the option ‑‑check_only=with_lun|without_lun. 7m filers can also use without_lun_7m. With this option you can limit the check to volumes with or without LUNs, regardless of any naming conventions.
In an example (that has now been removed from our help page) we described how the snapshots check could be used with the metric _number_to find volumes that don’t have any snapshots. Unfortunately, this example was misleading and lead to false negatives. For this use case we are preparing a separate check …
Snapshots can be used to monitor the disk usage of snapshots on a volume. Up until now, the check compared the sum of all snapshots on a volume to a threshold. The check is very flexible thanks to its various options, such as the possibility to compare in relation to the volume size. The new switch ‑‑single can now be …
After having received feedback from a client saying the cluster mode collector get_netapp-cm.pl needs up to 45 seconds or more to collect 4500 snapshots, we looked into possibilities to accelerate the getter. In previous versions we relied on the default setting of the NetApp API which is set to 20 instances to be …
Specific snapshots can now be excluded based on their application dependency using the new switch --exclude_dependency=<pattern>. This way, copies created by SnapManager can be excluded from a check (--exclude_dependency=vclone). Pattern is a regular expression, meaning snapshots with application dependency …
Snapshots can be used not only to monitor volume usage by snapshots, but also the number of snapshots that meet a certain criteria, e.g snapshots that exceed or fall bellow a certain age or have a specific name.
Finding outdated snapshots In order to receive alarms for orphaned and outdated snapshots, one would use the …
Shorty, the Snapshots check will receive a new switch: ‑‑snapmirror_label_matches This switch can be used to analyze file sizes and the number of snapshots based on the snap-mirror-lable. Therefore, it is also possible to search for snapshots that don’t have a snap-mirror-lable. Here are a few examples: $ …