Am Sonntag, den 13.02.2011, 19:22 +0100 schrieb Badri Pillai:
> Hi,
> 
> have a look at RRD::Simple CPAN module..
> 
> n2rrd uses that!!

Ah, thanks! RRD::Simple nice module. Must have overseen it.

------------------
#!/usr/bin/perl

use strict;
use warnings;

use RRD::Simple();

my $rrd_file = "./orig.rrd";
my $rrd = RRD::Simple->new();

print "Processing $rrd_file...";
$rrd->add_source($rrd_file, 'APACHE2' => 'GAUGE');
print " ok.\n";
------------------

Ciao!



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to