Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Netapp snapmirror lagtime
Reviews (4)
byrobert@city, January 7, 2016
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
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!
$B1=$B1/60;
After line 65:
$B1=$B1/100;
Other than that works great!
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
Plese some one could che the help command description ?
Regards
Emilio