Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Host template for Network Appliance storage arrays and more!
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
xian_yangyq



Joined: 09 Apr 2006
Posts: 16

PostPosted: Thu Jul 20, 2006 12:16 am    Post subject: Re: Some others scripts for Network Appliances Reply with quote

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

PostPosted: Mon Jul 31, 2006 3:37 am    Post subject: Reply with quote

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

PostPosted: Fri Aug 18, 2006 8:33 am    Post subject: Reply with quote

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



network_appliance_cacti.zip
 Description:

Download
 Filename:  network_appliance_cacti.zip
 Filesize:  108.79 KB
 Downloaded:  979 Time(s)

Back to top
bwise



Joined: 15 Mar 2007
Posts: 1

PostPosted: Thu Mar 15, 2007 8:09 pm    Post subject: First Implimentation Success Thank you Reply with quote

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

PostPosted: Wed May 09, 2007 6:30 pm    Post subject: template/script for graphing IOPs? Reply with quote

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

PostPosted: Tue Sep 04, 2007 4:53 am    Post subject: Reply with quote

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

PostPosted: Tue Sep 04, 2007 5:02 am    Post subject: Reply with quote

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

PostPosted: Tue Sep 04, 2007 8:10 am    Post subject: Reply with quote

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

PostPosted: Tue Sep 04, 2007 8:32 am    Post subject: Reply with quote

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?



netapp_volumes.xml
 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:  428 Time(s)

Back to top
Laffer



Joined: 24 Aug 2007
Posts: 14

PostPosted: Wed Sep 05, 2007 2:36 am    Post subject: Reply with quote

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

PostPosted: Wed Sep 05, 2007 4:54 am    Post subject: Reply with quote

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

PostPosted: Tue Feb 19, 2008 3:15 pm    Post subject: Reply with quote

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

PostPosted: Fri Apr 04, 2008 2:00 pm    Post subject: Issues with a few graphs Reply with quote

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

PostPosted: Sat Apr 05, 2008 6:15 am    Post subject: Re: Issues with a few graphs Reply with quote

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

PostPosted: Wed Apr 09, 2008 8:15 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group