|
|
| Author |
Message |
xian_yangyq
Joined: 09 Apr 2006 Posts: 16
|
Posted: Thu Jul 20, 2006 12:16 am Post subject: 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
|
|
| Back to top |
|
 |
xian_yangyq
Joined: 09 Apr 2006 Posts: 16
|
Posted: Mon Jul 31, 2006 3:37 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
renaatski
Joined: 27 Apr 2004 Posts: 22
|
Posted: Fri Aug 18, 2006 8:33 am Post subject: |
|
|
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
| Description: |
|
 Download |
| Filename: |
network_appliance_cacti.zip |
| Filesize: |
108.79 KB |
| Downloaded: |
978 Time(s) |
|
|
| Back to top |
|
 |
bwise
Joined: 15 Mar 2007 Posts: 1
|
Posted: Thu Mar 15, 2007 8:09 pm Post subject: 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
|
|
| Back to top |
|
 |
daytonjones
Joined: 09 May 2007 Posts: 1
|
Posted: Wed May 09, 2007 6:30 pm Post subject: 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?
|
|
| Back to top |
|
 |
Laffer
Joined: 24 Aug 2007 Posts: 14
|
Posted: Tue Sep 04, 2007 4:53 am Post subject: |
|
|
I have negative Values on some OID's
hsnm006:/srv/www/htdocs/cacti/log # snmpget -v1 -c public -m ALL hsfs000 .1.3.6.1.4.1.789.1.5.4.1.3.11
NETWORK-APPLIANCE-MIB::dfKBytesTotal.11 = INTEGER: -1803631392
Any suggestions???
|
|
| Back to top |
|
 |
Laffer
Joined: 24 Aug 2007 Posts: 14
|
Posted: Tue Sep 04, 2007 5:02 am Post subject: |
|
|
| Laffer wrote: | I have negative Values on some OID's
hsnm006:/srv/www/htdocs/cacti/log # snmpget -v1 -c public -m ALL hsfs000 .1.3.6.1.4.1.789.1.5.4.1.3.11
NETWORK-APPLIANCE-MIB::dfKBytesTotal.11 = INTEGER: -1803631392
Any suggestions??? |
Maybe more than 2 TB? How to fix the Value?
|
|
| Back to top |
|
 |
Laffer
Joined: 24 Aug 2007 Posts: 14
|
Posted: Tue Sep 04, 2007 8:10 am Post subject: |
|
|
This information can be found in the MIB:
| Quote: | -- 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." |
Has anyone done this with the 64 Bit Counters?
|
|
| Back to top |
|
 |
Laffer
Joined: 24 Aug 2007 Posts: 14
|
Posted: Tue Sep 04, 2007 8:32 am Post subject: |
|
|
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?
| Description: |
| Updated Query Script for the High and Low Values of the MIB (two 32 Bit Counters joined to a 64-Bit Counter) |
|
 Download |
| Filename: |
netapp_volumes.xml |
| Filesize: |
4.43 KB |
| Downloaded: |
426 Time(s) |
|
|
| Back to top |
|
 |
Laffer
Joined: 24 Aug 2007 Posts: 14
|
Posted: Wed Sep 05, 2007 2:36 am Post subject: |
|
|
| 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
|
|
| Back to top |
|
 |
Laffer
Joined: 24 Aug 2007 Posts: 14
|
Posted: Wed Sep 05, 2007 4:54 am Post subject: |
|
|
| Has anybody for THESE Templates here an Template which prints instead of KBYTES the percentage?
|
|
| Back to top |
|
 |
pbulteel Cacti User
Joined: 05 Sep 2003 Posts: 150 Location: London
|
Posted: Tue Feb 19, 2008 3:15 pm Post subject: |
|
|
I am trying to import these into 0.8.7 and I get an error. Error: XML: Cacti version does not exist.
Is there something I need to do to these to get them working on 0.8.7?
thanks,
-P
|
|
| Back to top |
|
 |
jkstraw
Joined: 01 Aug 2006 Posts: 34
|
Posted: Fri Apr 04, 2008 2:00 pm Post subject: 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
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12275 Location: Muenster, Germany
|
Posted: Sat Apr 05, 2008 6:15 am Post subject: Re: Issues with a few graphs |
|
|
| jkstraw wrote: | | ERROR: the RRD does not contain an RRA matching the chosen CF | This pops up, if the Graph template uses a consolidation function (e.g. LAST) but the rrd file does not hold LAST.
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
|
|
| Back to top |
|
 |
jkstraw
Joined: 01 Aug 2006 Posts: 34
|
Posted: Wed Apr 09, 2008 8:15 am Post subject: |
|
|
Thanks gandalf,
That did the trick - I noticed the use of LAST for both Item 1 and 2 in the problem graph templates, I replaced Item 1 with AVERAGE, rebuilt the graphs and am back in business.
Thanks again for the help!
|
|
| Back to top |
|
 |
|