Sébastien Aperghis-Tramoni > RackMan-1.14 > RackMan::Format::Cacti

Download:
RackMan-1.14.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source   Latest Release: RackMan-1.18

NAME ^

RackMan::Format::Cacti - Create Cacti graphs for the given RackObject

SYNOPSIS ^

    use RackMan::Format::Cacti;

    RackMan::Format::Cacti->write({
        rackdev => $rackdev,  # a RackMan::Device instance
        rackman => $rackman,  # a RackMan instance
    });

DESCRIPTION ^

This module declares the given RackObject within Cacti and creates a few associated graphs or graph templates.

METHODS ^

write

Do the work.

Arguments

Arguments are expected as a hashref with the following keys:

CONFIGURATION ^

This module gets its configuration from the [format:cacti] section of the main rack.conf, with the following parameters:

path

Path of the directory where the Cacti command line programs are located.

php

Path of the PHP interpreter. Default to /usr/bin/php

sudo_as

Specify an optional user account to execute the Cacti programs under, using sudo(8).

AUTHOR ^

Sebastien Aperghis-Tramoni

syntax highlighting: