NetApp consistency point templates

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
richc
Posts: 1
Joined: Fri Jan 11, 2013 5:29 am

NetApp consistency point templates

Post by richc »

Hi,

I am looking at setting up some monitoring for a NetApp and one thing I am interested in monitoring over time is the NetApp consistency points and after a quick google I came across this website:

http://redhunter.com/blog/2010/02/11/ne ... -in-cacti/

Where someone has done the hard work already! However the template download doesn't work as its missing the polling script. So I was wondering, does anyone on here have anything similar in place? or have the polling script as I would prefer not to re-invent the wheel if I don't have to!

I have had a search on here already prior to asking, but I couldn't find anything.

Thanks for any help.
rjholtz
Posts: 12
Joined: Wed Oct 05, 2005 3:35 pm

Re: NetApp consistency point templates

Post by rjholtz »

Rich, I can't help as I am also looking for the script to go along with that graph. Did you find something that has worked for you?

Thanks,
Ray
dho124
Posts: 1
Joined: Thu Aug 01, 2013 3:08 pm

Re: NetApp consistency point templates

Post by dho124 »

Hi,
Anyone's got the polling script for this template? The script's name is 'check-netapp-cp.pl'. The site author said the zip file had been updated with the script but it's not there. Most appreciated if someone can share that file with us or direct us to the location of the file.

Thanks in advance.
cactarian
Posts: 1
Joined: Tue Dec 17, 2013 6:01 pm

Re: NetApp consistency point templates

Post by cactarian »

here is a quick one i put together that uses snmpwalk..
You'll need to update the "NetAPP CP" data input method..
change the "input string" to "<path_cacti>/scripts/check_cp.sh <snmp_community> <hostname>"

Code: Select all

#!/bin/sh

#Usage check_cp.sh <snmp community> <hostname>
# eg., check_cp.sh public netapphost

MIBcpFromCpDeferredOps=.1.3.6.1.4.1.789.1.2.6.12.0
MIBcpFromCpOps=.1.3.6.1.4.1.789.1.2.6.7.0
MIBcpFromFlushOps=.1.3.6.1.4.1.789.1.2.6.9.0
MIBcpFromHighWaterOps=.1.3.6.1.4.1.789.1.2.6.5.0
MIBcpFromLogFullOps=.1.3.6.1.4.1.789.1.2.6.6.0
MIBcpFromLowDatavecsOps=.1.3.6.1.4.1.789.1.2.6.13.0
MIBcpFromLowVbufOps=.1.3.6.1.4.1.789.1.2.6.11.0
MIBcpFromLowWaterOps=.1.3.6.1.4.1.789.1.2.6.4.0
MIBcpFromSnapshotOps=.1.3.6.1.4.1.789.1.2.6.3.0
MIBcpFromSyncOps=.1.3.6.1.4.1.789.1.2.6.10.0
MIBcpFromTimerOps=.1.3.6.1.4.1.789.1.2.6.2.0

SNMPGET="snmpwalk -r 1 -v 2c -c $1 $2 "

cpFromCpDeferredOps=`$SNMPGET $MIBcpFromCpDeferredOps |awk '{print $4}'`
cpFromCpOps=`$SNMPGET $MIBcpFromCpOps |awk '{print $4}'`
cpFromFlushOps=`$SNMPGET $MIBcpFromFlushOps |awk '{print $4}'`
cpFromHighWaterOps=`$SNMPGET $MIBcpFromHighWaterOps |awk '{print $4}'`
cpFromLogFullOps=`$SNMPGET $MIBcpFromLogFullOps |awk '{print $4}'`
cpFromLowDatavecsOps=`$SNMPGET $MIBcpFromLowDatavecsOps |awk '{print $4}'`
cpFromLowVbufOps=`$SNMPGET $MIBcpFromLowVbufOps |awk '{print $4}'`
cpFromLowWaterOps=`$SNMPGET $MIBcpFromLowWaterOps |awk '{print $4}'`
cpFromSnapshotOps=`$SNMPGET $MIBcpFromSnapshotOps |awk '{print $4}'`
cpFromSyncOps=`$SNMPGET $MIBcpFromSyncOps |awk '{print $4}'`
cpFromTimerOps=`$SNMPGET $MIBcpFromTimerOps |awk '{print $4}'`

echo -n "cpFromCpDeferredOps:$cpFromCpDeferredOps cpFromCpOps:$cpFromCpOps cpFromFlushOps:$cpFromFlushOps cpFromHighWaterOps:$cpFromHighWaterOps cpFromLogFullOps:$cpFromLogFullOps cpFromLowDatavecsOps:$cpFromLowDatavecsOps cpFromLowVbufOps:$cpFromLowVbufOps cpFromLowWaterOps:$cpFromLowWaterOps cpFromSnapshotOps:$cpFromSnapshotOps cpFromSyncOps:$cpFromSyncOps cpFromTimerOps:$cpFromTimerOps"
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests