RackMan::Format::Cacti - Create Cacti graphs for the given RackObject
use RackMan::Format::Cacti; RackMan::Format::Cacti->write({ rackdev => $rackdev, # a RackMan::Device instance rackman => $rackman, # a RackMan instance });
This module declares the given RackObject within Cacti and creates a few associated graphs or graph templates.
Do the work.
Arguments
Arguments are expected as a hashref with the following keys:
rackdev - (mandatory) a RackMan::Device instance
rackdev
rackman - (mandatory) a RackMan instance
rackman
verbose - (optional) boolean, set to true to be verbose
verbose
This module gets its configuration from the [format:cacti] section of the main rack.conf, with the following parameters:
[format:cacti]
Path of the directory where the Cacti command line programs are located.
Path of the PHP interpreter. Default to /usr/bin/php
Specify an optional user account to execute the Cacti programs under, using sudo(8).
Sebastien Aperghis-Tramoni
To install RackMan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RackMan
CPAN shell
perl -MCPAN -e shell install RackMan
For more information on module installation, please visit the detailed CPAN module installation guide.