NAME
App::MonM::RRDtool - App::MonM RRDtool interface
VIRSION
Version 1.00
SYNOPSIS
use App::MonM::RRDtool;
DESCRIPTION
App::MonM RRDtool interface
See README
file
METHODS
- new
-
my $rrdtool = new App::MonM::RRDtool;
- is_loaded
-
$rrdtool->is_loaded or die "Module RRDs not loaded";
Method checks the state of loaded RRDs module
- status
-
my $status = $rrdtool->status( NEW_CODE_STATUS );
Returns status code and setup if argument (NEW_CODE_STATUS) exists
- error
-
my $error = $rrdtool->error( NEW_ERROR_MESSAGE );
Returns error message and setup if argument (NEW_ERROR_MESSAGE) exists
- create
-
$rrdtool->create( file => <FILE>, type => <TYPE>, );
Create empty RRD file by filename and type
- update
-
$rrdtool->update( $XML_DOCUMENT_OR_XML_STRUCTURE );
Update data in database files. As the data is a XML document created following command:
monm alertgrid export
- graph
-
Create RRD graphs by keys
$rrdtool->graph( ARG1, ARG2, ..., ARGn );
SEE ALSO
AUTHOR
Serz Minus (Lepenkov Sergey) http://www.serzik.com <minus@mail333.com>.
COPYRIGHT
Copyright (C) 1998-2014 D&D Corporation. All Rights Reserved
LICENSE
This program is distributed under the GNU GPL v3.
This 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 3 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.
See LICENSE
file