information to create graphs and populates them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering also. There is also SNMP support for those used to creating traffic graphs with MRTG. The Plugin Architecture for Cacti was designed to be both simple in nature and robust enough to allow freedom to do almost anything in Cacti. The Plugin Architecture for Cacti is integrated into this package. (created from wip/cacti by pettai)
21 lines
561 B
Text
21 lines
561 B
Text
# load the php module if it is not already loaded
|
|
<IfModule !php@PKG_PHP_MAJOR_VERS@_module>
|
|
LoadModule php@PKG_PHP_MAJOR_VERS@_module lib/httpd/mod_php@PKG_PHP_MAJOR_VERS@.so
|
|
</IfModule>
|
|
|
|
Alias /cacti "@CACTIDIR@"
|
|
|
|
<Directory "@CACTIDIR@">
|
|
Options None
|
|
AllowOverride Limit
|
|
AddHandler application/x-httpd-php .php
|
|
DirectoryIndex index.php
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
# some people prefer a simple URL like http://cacti.example.com
|
|
#<VirtualHost 1.2.3.4>
|
|
# DocumentRoot @CACTIDIR@
|
|
# ServerName cacti.example.com
|
|
#</VirtualHost>
|