Sébastien Aperghis-Tramoni > RackMan-1.17 > RackMan::Format::Nagios

Download:
RackMan-1.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

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

NAME ^

RackMan::Format::Nagios - Generate the Nagios config for a given RackObject

SYNOPSIS ^

    use RackMan::Format::Nagios;

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

DESCRIPTION ^

This module generates the Nagios configuration file for a given RackObject.

METHODS ^

write

Generate the file.

Arguments

Arguments are expected as a hashref with the following keys:

CONFIGURATION ^

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

path

Path of the directory to store the generated files.

scm

Specify the SCM tool to use for versionning generated files.

AUTHOR ^

Sebastien Aperghis-Tramoni

syntax highlighting: