Description: The Cacti Integration module provides an interface to query Drupal for statistics and return the results to the open source Cacti network graphing package. The use case is that you would like to create ongoing graphs of statistics of your Drupal site, such as how many authenticated and unauthenticated users are on the site.
The statistical data goes one way: from Drupal to Cacti. All templates, information, and graphs appear within the Cacti interface. It does not allow you to embed or otherwise 'bring back' information from Cacti to Drupal. It's a one way trip.
Currently tested with Cacti 0.8.7f and later. It may work with older revisions or you may need to modify the Cacti templates appropriately.
This is nearly ready for general usage, and a dev version with the server, client, and a sample template has been committed. I'd love to have a few testers.
* TODO: Create hookable system for adding new data queries from other modules.
There are multiple pieces to making this all work. Here they are.
1. This module. This module is installed on your Drupal site. It acts as a 'server' to reply to queries from Cacti. In Cacti-speak, this is the server side of the Data Input Method. Its only job is to collect information and provide it to a calling Cacti host/script. It must be enabled on the Drupal site and then configured in the Admin -> Reports -> Cacti menu. It will not work if you do not enable it AND configure it!
2. The drupal_stats.php file. This is the 'client' side of the system. This file is placed on the Cacti server inside of the scripts directory. Generally this is a manual step to upload it appropriately to your Cacti instance. The script is then used to query the Drupal module as described in #1.
3. Cacti templates. The templates are what gets imported into the Cacti software and defines what the information does, the layout, and the graphs. The templates are stored in this module's 'templates' directory and must be downloaded to your system and then uploaded into Cacti. Generally this would be a manual step to log in to Cacti, click 'Import Templates', and then browse to them one at a time and click Import.
Related: cacti, drupal, Templates, Information, Module, Graphs, Server, System, Queries, generally, Directory, Manual, Click, Query, Interface, Statistics, Reports, provide, ENABLE
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB