Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
livebox:graphite [2014/09/12 11:35] – [Graphite installation] brett | livebox:graphite [2014/10/01 03:05] (current) – [xAP Applet configuration] brett | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Setting up the graphite monitoring engine | * Setting up the graphite monitoring engine | ||
* Configuring to feed xAP | * Configuring to feed xAP | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | Where as cacti uses a __pull__ mechanism to reach out and gather statistics which requires something to cache previous values until the cacti back-end is ready to get them. Graphite on the other hand uses a __push__ mechanism which is much simpler. | ||
+ | |||
+ | Its the preferred charting solution for xAP data. | ||
+ | |||
+ | {{: | ||
===== Setting up Graphite ===== | ===== Setting up Graphite ===== | ||
+ | |||
+ | What is Graphite? | ||
+ | |||
+ | The documentation for graphite: http:// | ||
Its suggested that you designate a new VM/Server as the graphite | Its suggested that you designate a new VM/Server as the graphite | ||
Line 11: | Line 23: | ||
on a RedHat Enterprise Linux/ | on a RedHat Enterprise Linux/ | ||
may vary with other Operating system hosts. | may vary with other Operating system hosts. | ||
+ | |||
===== Pre requisites ===== | ===== Pre requisites ===== | ||
Line 47: | Line 60: | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
' | ' | ||
' | ' | ||
Line 55: | Line 68: | ||
Create graphite database | Create graphite database | ||
< | < | ||
- | # mysql -e " | + | # mysql -e " |
# mysql -e "GRANT ALL PRIVILEGES ON graphite.* TO ' | # mysql -e "GRANT ALL PRIVILEGES ON graphite.* TO ' | ||
# mysql -e " | # mysql -e " | ||
Line 77: | Line 90: | ||
</ | </ | ||
+ | ====== xAP Applet configuration ====== | ||
+ | |||
+ | The sample applet that can feed data to a Carbon data aggregator is called [[http:// | ||
+ | |||
+ | The only change required is to adjust the IP address to that of your graphite server. | ||
+ | <code lua> | ||
+ | graphite={port=2003, | ||
+ | </ | ||
+ | |||
+ | Copy the sample to the / | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | By default the applet will feed all xAPBSC.event data items to the back-end for recording and charting, along with the [[http:// | ||
+ | |||
+ | {{tag> |