livebox:xap_cacti

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
livebox:xap_cacti [2013/05/29 01:57] – [Installing Cacti on CentOS] brettlivebox:xap_cacti [2013/05/29 02:03] – [Customizing for xAP] brett
Line 6: Line 6:
  
 {{:livebox:cacti-graph.png}} {{:livebox:cacti-graph.png}}
- 
-===== Installing Cacti on CentOS ===== 
- 
-For CentOS6.x installing is a snap 
- 
-If you don't already have the EPEL repository installed into /etc/yum.repos.d/ then do this first. 
-<code> 
-rpm -Uvh http://fedora.mirror.uber.com.au/epel/6/i386/epel-release-6-8.noarch.rpm 
-</code> 
-Check how to install for older release and Fedora @ http://fedoraproject.org/wiki/EPEL 
- 
-Then install cacti 
-<code> 
-yum install cacti 
-</code> 
- 
  
 ===== Setting up the xAP data cache ===== ===== Setting up the xAP data cache =====
Line 76: Line 60:
 ===== Configuring CACTI ===== ===== Configuring CACTI =====
  
-The installation of [[http://www.cacti.net|CACTI]] is beyond the scope of this document and I'll assume you already have it setup and running, there are many guides our there to show you how to install this product.+The installation of [[http://www.cacti.net|CACTI]] is beyond the scope of this document and I'll assume you already have it setup and running, there are many guides our there to show you how to install this product.  I will however show how I did it. 
 + 
 +==== Installing Cacti on CentOS6 ==== 
 + 
 +For CentOS6.x installing is a snap 
 + 
 +If you don't already have the EPEL repository installed into /etc/yum.repos.d/ then do this first. 
 +<code> 
 +rpm -Uvh http://fedora.mirror.uber.com.au/epel/6/i386/epel-release-6-8.noarch.rpm 
 +</code> 
 +Check how to install for older release and Fedora @ http://fedoraproject.org/wiki/EPEL 
 + 
 +Then install cacti 
 +<code> 
 +yum install cacti 
 +</code> 
 + 
 +===== Customizing for xAP =====
  
 You need to include one custom script that will called by the cacti data poller to reach our to our LUA caching web applet to grab xAP data values. You need to include one custom script that will called by the cacti data poller to reach our to our LUA caching web applet to grab xAP data values.
  
-On my system this script appear on a linux server at: ''/usr/share/cacti/scripts/xapquery.py'' don't forget to set the permission bits+On my system this script appear on a linux server at: ''/var/lib/cacti/scripts/xapquery.py'' don't forget to set the permission bits
  
 <code> <code>
  • livebox/xap_cacti.txt
  • Last modified: 2013/05/31 11:57
  • by garrydwilms