Host template for Network Appliance storage arrays and more!
Moderators: Developers, Moderators
-
- Posts: 16
- Joined: Sun Apr 09, 2006 9:29 pm
Re: Some others scripts for Network Appliances
Hi aboyz,
i have cacti version 0.8.6h, i need monitor netapp qtree, the netapp version is 7.1 now i import XML version 7g file to cacti, create host in cacti runing php /opt/cacti/poller.php have Reason: (noSuchName) There is no such variable name in this MIB error, the qtree OID is 1.3.6.1.4.1.789.1.4.5.1.5, i don't is why, please help me.
thanks
i have cacti version 0.8.6h, i need monitor netapp qtree, the netapp version is 7.1 now i import XML version 7g file to cacti, create host in cacti runing php /opt/cacti/poller.php have Reason: (noSuchName) There is no such variable name in this MIB error, the qtree OID is 1.3.6.1.4.1.789.1.4.5.1.5, i don't is why, please help me.
thanks
-
- Posts: 16
- Joined: Sun Apr 09, 2006 9:29 pm
Hi jabbasi,
Now i use cacti monitor Netapp qtree, the netapp version is v7.1. i already import netapp qtree v2 templates to cacti, but have some problems, i can find all qtree for netapp but can not Created graph for qtree, i change Data Queries for NetApp - QTrees file "netapp-qtrees-v2.xml" del line "<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>" can find finite qtree and create Created graph is OK, i don't know is why? need you help.
thanks
Now i use cacti monitor Netapp qtree, the netapp version is v7.1. i already import netapp qtree v2 templates to cacti, but have some problems, i can find all qtree for netapp but can not Created graph for qtree, i change Data Queries for NetApp - QTrees file "netapp-qtrees-v2.xml" del line "<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>" can find finite qtree and create Created graph is OK, i don't know is why? need you help.
thanks
Hi all,
Because of all the separate work being done, I decided to combine all of this into one Host template, and have all of this stuff in one package. Also I think it's key to have the OID's in the export, as they weren't there for the previous files posted in this topic. The field was empty every time.
It's actually good to see that my initial work for the volumes data query is working out for other people too (see http://forums.cacti.net/viewtopic.php?t=4785&highlight= )
This attached host template and it's embedded graph/data/host templates worked fine for my NearStore R100's running OnTAP 6.5.6
______________________________________
Graph Templates:
1) NetApp - Cache Age
2) Netapp - CIFS Ops
3) NetApp - CPU % Busy (averaged)
4) NetApp - CPU Interrupts
5) NetApp - CPU Usage (last value, can be inaccurate)
6) NetApp - NFS Ops
Associated Data Queries
1) NetApp - Volume Stats
2) SNMP - Interface Statistics
______________________________________
You obviously still have to copy the netapp_volumes.xml first in <cacti_install>/resource/snmp_queries
Kind regards,
Renaat
Because of all the separate work being done, I decided to combine all of this into one Host template, and have all of this stuff in one package. Also I think it's key to have the OID's in the export, as they weren't there for the previous files posted in this topic. The field was empty every time.
It's actually good to see that my initial work for the volumes data query is working out for other people too (see http://forums.cacti.net/viewtopic.php?t=4785&highlight= )
This attached host template and it's embedded graph/data/host templates worked fine for my NearStore R100's running OnTAP 6.5.6
______________________________________
Graph Templates:
1) NetApp - Cache Age
2) Netapp - CIFS Ops
3) NetApp - CPU % Busy (averaged)
4) NetApp - CPU Interrupts
5) NetApp - CPU Usage (last value, can be inaccurate)
6) NetApp - NFS Ops
Associated Data Queries
1) NetApp - Volume Stats
2) SNMP - Interface Statistics
______________________________________
You obviously still have to copy the netapp_volumes.xml first in <cacti_install>/resource/snmp_queries
Kind regards,
Renaat
- Attachments
-
- network_appliance_cacti.zip
- (108.79 KiB) Downloaded 2085 times
First Implimentation Success Thank you
I just wanted to come back and say thanks I am collecting stats on all 15 of my filers now
./B
./B
-
- Posts: 1
- Joined: Wed May 09, 2007 6:28 pm
template/script for graphing IOPs?
I've got NFS/CIFS Ops being charted as well as CPU and vol stats... but how can I graph the IOPs of my filers?
This information can be found in the MIB:
Has anyone done this with the 64 Bit Counters?-- dfKBytesTotal is DEPRECATED;
-- use dfHighTotalKBytes and dfLowTotalKBytes
dfKBytesTotal OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The total capacity in KBytes for the
referenced file system."
::= { dfEntry 3 }
-- dfKBytesUsed is DEPRECATED;
-- use dfHighUsedKBytes and dfLowUsedKBytes
dfKBytesUsed OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The total disk space in KBytes that is in use
on the referenced file system."
I added the 64 Bit Fields to the Query XML File (like in the MIB)
Does anybody have an idea how to proceed next? CDEF Functions?
Does anybody have an idea how to proceed next? CDEF Functions?
- Attachments
-
- netapp_volumes.xml
- Updated Query Script for the High and Low Values of the MIB (two 32 Bit Counters joined to a 64-Bit Counter)
- (4.43 KiB) Downloaded 1310 times
OK. Even without response I am coming forward a little... So I made a new DATA and GRAPH Template converting SIGNED to UNSIGNED Integer (32 Bit). With this, it works at least for Volumes up to 4 TB instead of 2 TB... Look in this thread: http://forums.cacti.net/viewtopic.php?p=109985#109985
Issues with a few graphs
Everything went fine with the import and I get the majority of the graphs without an issue.
The following graphs are giving the following error:
ERROR: the RRD does not contain an RRA matching the chosen CF
This affects the following graphs:
Cache Age
CIFS Ops
NFS Ops
CPU % Busy
Doing a manual snmpwalk from the cacti host returns the correct value.
Running:
cacti-0.8.7b
cacti-spline-0.8.7a
rrdtool 1.2.23-1
The following graphs are giving the following error:
ERROR: the RRD does not contain an RRA matching the chosen CF
This affects the following graphs:
Cache Age
CIFS Ops
NFS Ops
CPU % Busy
Doing a manual snmpwalk from the cacti host returns the correct value.
Running:
cacti-0.8.7b
cacti-spline-0.8.7a
rrdtool 1.2.23-1
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Issues with a few graphs
This pops up, if the Graph template uses a consolidation function (e.g. LAST) but the rrd file does not hold LAST.jkstraw wrote:ERROR: the RRD does not contain an RRA matching the chosen CF
Either add the CF LAST (requiring to rebuild the rrd file, loosing all old data) or change the Graph Template not to use the CF that's missing. Replace it e.g. by AVERAGE (but make sure you understand what this gives you)
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest