dimanche 29 juillet 2012

Memory Usage (Linux) graph template work


Edit : these templates now work with Cacti 0.8.7b, thanks to phalek


here are some templates for memory & swap under Unix; they use SNMP queries only.

The ucd/net - Memory Usage (Linux) graph template works only with Linux hosts, but the ucd/net - Memory Usage and ucd/net - Swap Usagegraph templates work with any Unix system running Net-SNMP (including Linux).

These templates were exported from a Cacti 0.8.7a installation, so you need at least this version.




Beware when importing these templates, I'm using "large" RRA definitions...

cacti_graph_template_ucdnet_-_memory_usage_linux.xml [34.01 KiB]
Downloaded 2020 times
cacti_graph_template_ucdnet_-_memory_usage_unix.xml [21.55 KiB]
Downloaded 1280 times
cacti_graph_template_ucdnet_-_swap_usage.xml [21.06 KiB]
Downloaded 1495 times

NetApp Filer Template for Cacti

NetApp Filer Template for Cacti


This is a host template for Cacti for the NetApp filer. It will graph network interfaces, cpu usage, cache age, nfs and cifs operations, as well as per-volume graphs for disk, file and inode usage.

This template includes some bits and parts from other templates that I have gathered from the Cacti forums. In particular, bits from this page and this page have been incorporated. For the per-volume statistics in particular, I cleaned up the original XML file and created data source and graph templates referencing it.

This template was extracted from cacti using the normal export function. I have not tested a re-import, but don't see why it wouldn't work. In addition, you will need the netapp-volumes.xml file (also below) which should be placed in the resource/snmp_queries/ directory alongside its pre-existing friends.

Update: 4/29/2010. Fixed a bug in the volume disk space graphs. Apparently multiplying up by 1024 to turn Kbytes into bytes, then back down via the automagic convertion to M and G was causing a math error.



Cache Age:

NFS Ops:


(well, if I was using CIFS then there would probably be something here)

CPU Load:

Per Volume Graphs: (usage, files, inodes)


cacti_host_template_netapp_old.xml (import this)
cacti_host_template_netapp.xml (import this)
netapp-volumes.xml (this goes in the resource/snmp_queries/ directory)