Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Netapp snapmirror lagtime

Rating
4 votes
Favoured:
0
Hits
157782
Files:
FileDescription
check_lagtimecheck_lagtime
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This plugin reports the Snapmirror lagtime of a Netapp Storage device.
Reviews (4)
Thanks for the plugin! We had to edit few things to get it to work with Cluster Software (Data ONTAP) NetApp Release 8.3.1P1: Fri Oct 02 11:25:22 UTC 2015.

Line 56 and 57

$nr=`/usr/bin/snmpwalk -v 3 -u USERFORSNMP -c $opt_C $host 1.3.6.1.4.1.789.1.29 | /bin/grep $vol| /bin/awk -F' ' '{print \$1}' | /bin/awk -F. '{print \$NF}' `;
$B=`/usr/bin/snmpget -v 3 -u USERFORSNMP -c $opt_C $host 1.3.6.1.4.1.789.1.29.1.1.7.$nr`;

Hope someone will find it useful.

Cheers
Currently the script will only work for checking snapmirrored volumes, not qtrees. I've fixed that and am looking for a way to upload my new version with a simple fix.
bychlewis, July 12, 2013
Ok so the script actually works out the lag time in seconds not minutes. To change it to minutes you need to add the line:

$B1=$B1/60;

After line 65:

$B1=$B1/100;

Other than that works great!
byemi65, June 10, 2012
0 of 1 people found this review helpful
in my opinion the limit for warning and critical would be defined in secons and NOT in minutes.

Plese some one could che the help command description ?

Regards
Emilio