|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2010-05-05 (6 years ago)||Not yet rated by the users||Total: 189||All time: 7,845 This week: 893|
|rrd4sar 0.1||GNU General Publi...||4.0||Networking, Graphics, System information|
This class can be used to render rrd graphs for sar output from remote host.
RRD4SAR Description: Fetch SAR statistics for a selected day for a selected remote machine and display them graphically. Uses RRDtool (Copyright 1997-2004 by Tobias Oetiker ), SAR command authored by Sebastien Godard & PHP(libssh2). License: Distributed under GNU GENERAL PUBLIC LICENSE - Version 3 Author: Praveen Kumar K S Download: http://www.chakravaka.com/rrd4sar/rrd4sar.tar.gz) Copyright (C) 2010 Praveen Kumar K S This file is part RRD4SAR. RRD4SAR 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. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Dependencies: 1) Install libssh2. On RedHat flavors this can be as easy as: yum install libssh2 otherwise it can be easily compiled from sources 2) Install rrdtool yum install rrdtool otherwise it can be easily compiled from sources 3) Install PHP SSH2 extension pecl install ssh2-beta Install & configure: 1) Untar to document root of your Apache 2) Edit hosts.ini Add relevent lost details like hostname, ssh username, ssh password ,path to `sa` files(usually it will be /var/log/sa) Note that section name in square brackets  will be refered as hostname. 3) Edit path_to_rrdtool in rrd4sar.ini if required: [configs] sarfile_prefix=sa sar_base_cmd="sar -f " path_to_rrdtool="/usr/bin/rrdtool" 4) Change ownership of the current directory to Apache user. Check for Apache user in httpd.conf chown -R apache:apache . 5) From the browser call rrd4sar.php Select host, day from dropdown. Go! - Praveen Kumar K S (praveen AT chakravaka.com)
|Version Control||Unique User Downloads||Download Rankings|