h1

Nagios: Monitoring the lag-time of SnapMirrors on NetAppFiler

5. Mai 2009

I just finished a new version of check_netapp_snapmirror. You can use it to monitor the lag-time of several or all snap mirrors on a netapp-filer.

Some examples:

$ check_netapp_snapmirror.pl -H toaster -u nagios%pass
Checks the lag-time of all snampmirror-sources on toaster with the default-thresholds.

$ check_netapp_snapmirror.pl -H netapp11 -u nagios%pass -X netapp11:vol4
Checks the lag-time of all snapmirror-sources on netapp11 with the exception of vol4 using the default-thresholds.

$ check_netapp_snapmirror.pl -H netapp11 -u nagios%pass -X netapp11:vol2 -X netapp11:vol4 -w 120 -c 240
Checks the lag-time of all snapmirror-sources on netapp11 with the exception of vol2 and vol4 – thresholds are set to 120 and 240 sec.

$ check_netapp_snapmirror.pl -H toaster -u nagios%pass -l vo1 -e pair_state –ok_pairstate=snapmirrored –ok_pairstate=uninitialized –w_pairstate=source
Checks vol1, ok if state is either snapmirrored or uninitialized, warning if source.

$ check_netapp_snapmirror.pl -H toaster -u nagios%pass -e last_transfer_duration -w 360 -c 1800
Checks the last-transfer-duration of all snampmirror-sources on toaster. Warning if more than 5 minutes (360s) and critical if more than 1 hour (1800s).
http://ingo.lantschner.name/NetappNagiosPlugins.html

Advertisements

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s

%d Bloggern gefällt das: