SmokePing
Smokeping::RRDtoolsSynopsisuse Smokeping::RRDtools; use RRDs; my $file = '/path/to/file.rrd'; # get the create arguments that $file was created with my $create = Smokeping::RRDtools::info2create($file); # use them to create a new file RRDs::create('/path/to/file2.rrd', @$create); # or compare them against another create list my @create = ('--step', 60, 'DS:ds0:GAUGE:120:0:U', 'RRA:AVERAGE:0.5:1:1008'); my ($fatal, $comparison) = Smokeping::RRDtools::compare($file, \@create); print "Fatal: " if $fatal; print "Create arguments didn't match: $comparison\n" if $comparison; Smokeping::RRDtools::tuneds($file, \@create); =head1 DESCRIPTION This module offers three functions, The function The function Note that if there is a
NotesThis module is not particularly specific to Smokeping, it is just distributed with it. BugsProbably. CopyrightCopyright (c) 2005 by Niko Tyni. AuthorNiko Tyni <ntyni@iki.fi> LicenseThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. See also
|
|
04/29/2007 | Niko Tyni | OETIKER+PARTNER AG
|
NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page.