Our legacy check for Spapvaults on 7m filers (check_netapp7_snapvault) monitors lag time and other metrics, previously displayed in seconds:


$ ./check_netapp7_snapvault.pl -H sim ... ‑‑what=lag-time
CRITICAL: Lag-time of SnapVault relation ... 12629906 seconds.

Not that readable, is it? This is why the next release will include a new switch, --display_factor, which will add the possibility to display the lag time in days or weeks as well:


$ ./check_netapp7_snapvault.pl -H sim ... ‑‑what=lag-time ‑‑display_factor=d
CRITICAL: Lag-time of SnapVault relation ... 146.2 days.

$ ./check_netapp7_snapvault.pl -H sim ... ‑‑what=lag-time ‑‑display_factor=w
CRITICAL: Lag-time of SnapVault relation ... 20.9 weeks.

By the way: minutes and hours are also possible!

At this point we would also like to remind you that this check also accepts thresholds set in seconds, minutes, hours, days or weeks:

$ ./check_netapp7_snapvault.pl ... ‑‑display_factor=w ‑‑warning=25w ‑‑critical=40w
OK: Lag-time of SnapVault relation 20.9 weeks.