Linux SoftwareProgrammingLibrariesLog::Log4perl::Appender::RRDs 1.06

Log::Log4perl::Appender::RRDs 1.06


Log::Log4perl::Appender::RRDs is a log to a RRDtool Archive. SYNOPSIS use Log::Log4perl qw(get_logger); use RRDs;
Developer:   Mike Schilli
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   214K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Log::Log4perl::Appender::RRDs is a log to a RRDtool Archive.

SYNOPSIS

use Log::Log4perl qw(get_logger);
use RRDs;

my $DB = "myrrddb.dat";

RRDs::create(
$DB, "--step=1",
"DS:myvalue:GAUGE:2:U:U",
"RRA:MAX:0.5:1:120");

print time(), "n";

Log::Log4perl->init(qq{
log4perl.category = INFO, RRDapp
log4perl.appender.RRDapp = Log::Log4perl::Appender::RRDs
log4perl.appender.RRDapp.dbname = $DB
log4perl.appender.RRDapp.layout = Log::Log4perl::Layout::PatternLayout
log4perl.appender.RRDapp.layout.ConversionPattern = N:%m
});

my $logger = get_logger();

for(10, 15, 20, 25) {
$logger->info($_);
sleep 1;
}

Log::Log4perl::Appender::RRDs appenders facilitate writing data to RRDtool round-robin archives via Log4perl. For documentation on RRD and its Perl interface RRDs (which comes with the distribution), check out http://rrdtool.org.

Messages sent to Log4perl's RRDs appender are expected to be numerical values (ints or floats), which then are used to run a rrdtool update command on an existing round-robin database. The name of this database needs to be set in the appender's dbname configuration parameter.

If there's more parameters you wish to pass to the update method, use the rrdupd_params configuration parameter:

log4perl.appender.RRDapp.rrdupd_params = --template=in:out

To read out the round robin database later on, use rrdtool fetch or rrdtool graph for graphic displays.

Requirements:
  • Perl
    tags log4perl appender  log log4perl  appender rrdapp  appender rrds  round robin  rrdupd params  configuration parameter  robin database  get logger  rrdapp layout  

    Download Log::Log4perl::Appender::RRDs 1.06


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/M/MS/MSCHILLI/Log-Log4perl-1.06.tar.gz


    Authors software

    File::Comments::Plugin::C 0.06 (by Mike Schilli)
    File::Comments::Plugin::C is a plugin to detect comments in C/C++ source code.

    SYNOPSIS

    use File::Comments::Plugin::C;

    F

    Log::Log4perl::Appender::RRDs 1.06 (by Mike Schilli)
    Log::Log4perl::Appender::RRDs is a log to a RRDtool Archive.

    SYNOPSIS

    use Log::Log4perl qw(get_logger);
    use RRDs;


    Similar software

    Log::Log4perl::Appender::RRDs 1.06 (by Mike Schilli)
    Log::Log4perl::Appender::RRDs is a log to a RRDtool Archive.

    SYNOPSIS

    use Log::Log4perl qw(get_logger);
    use RRDs;

    Craftsman Spy 1.0.5 (by Craftsman)
    Craftsman Spy is a an open source and free framework for JDBC logging

    RRDutil 2.08 (by Matt Simerson)
    RRDutil is a tool to collect statistics from multiple servers, store the values in RRD databases (using RRDtool) and plot out pretty

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    RRDTool 1.2.15 (by Tobias Oetiker)
    RRD is the Acronym for Round Robin Database

    drraw 2.2a1 (by Christophe Kalt)
    drraw project is a simple Web-based presentation front-end for RRDtool that allows you to interactively build graphs of your own desi

    jHomenet Alpha4 (by David Irwin)
    jHomenet is a home automation application

    Zonestats 0.3 (by Bruno Bonfils)
    Zonestats create an RRD database with the values of CPU and memory (RSS) usage per Solaris 10 zone

    log4sh 1.3.6 (by Kate Ward)
    log4sh project is a logging framework for shell scripts that works similar to the other wonderful logging products available from the

    di624stats.pl 0.1 (by Ben Ransford)
    di624stats.pl is a Perl script that screen-scrapes the Web interface of a D-Link DI-624 wireless NAT router to gather traffic statist


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags