NAME

Daemonise::Plugin::Graphite - Daemonise Graphite plugin

VERSION

version 2.13

SYNOPSIS

This plugin conflicts with other plugins that provide graphing, like the Riemann plugin.

use Daemonise;

my $d = Daemonise->new();
$d->debug(1);
$d->foreground(1) if $d->debug;
$d->config_file('/path/to/some.conf');

$d->load_plugin('Graphite');

$d->configure;

# send a metric to graphite server
# (service, state, metric, optional description)
$d->graph("interwebs", "slow", 1.4, "MB/s");

ATTRIBUTES

graphite_host

graphite_port

graphite_udp

graphite

SUBROUTINES/METHODS provided

configure

graph

AUTHOR

Lenz Gschwendtner <norbu09@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Lenz Gschwendtner.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.