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.
NetApp consistency point templates
Moderators: Developers, Moderators
Re: NetApp consistency point templates
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
Thanks,
Ray
Re: NetApp consistency point templates
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.
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.
Re: NetApp consistency point templates
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>"
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"
Who is online
Users browsing this forum: No registered users and 5 guests