Develop and Download Open Source Software

Linux Virtual Server Statistics Grapher

[view other images]

Linux Virtual Server Statistics Grapher

lvs_stats is program which generate graph for Linux Virtual Server by utilizing rrdtool.
Program is written by Ruby.
lvs_stats consists of following three component.

  • GUI frontend(cgi).
  • Program which parse lvs statistics and store rrd database.
  • Program which generate graph from rrd.

ScreenShot

Would you recoomend this project?

LastUpdate:2011-07-05 06:50
Member:t9md [View]
Other Info.

Latest File Releases of Linux Virtual Server Statistics Grapher

PackageVersionDateNotes
/ Change Log
lvs-stats0.32009-01-19 00:04Document / Document

#--------------------------------------------------------
# About LVS Statistics Grapher
#--------------------------------------------------------
############### READ THIS STATEMENT FIRST ##############
Of course I publish this program hoping this program is
useful for other people.
But, you have to use this program at your own risk.
I'm not responsible for your usage of this program.

#####################################################

Generate graph about ip_vs kernel module information.
This scripts generate following type of graph

All Virtual Server Aggregated graph
* Connection per sconds(CPS)
* Throughput(BPS)
* Active/Inactive Concurrent Connections

Per Virtual Server View
* Connection per sconds(CPS)
* Throughput(BPS)
* Active/Inactive Concurrent Connections
* Packets per seconds(PPS) and Average packet size
* Bit/connection and Packet/connection

################# IMPORTANT #############################

This scripts expect following commands to work properly.

/sbin/ipvsadm -L -n --stats --exact

And I strongly recomend to manage /etc/hosts file for
VIP entry which enable rrd_stats scripts use service name
as graph title.

#########################################################

#--------------------------------------------------------
* required software
#--------------------------------------------------------
ruby >= 1.8
ruby-rrdtool >= 1.2
rrdtool >= 1.2

#--------------------------------------------------------
# Files
#--------------------------------------------------------
ipvs_rrd.rb
=> library used to generate several type of graph.
index.cgi
=> GUI frontand which enable you to view graph via browser
lvs_rrdgraph.rb
=> generate graph from rrd database
lvs_rrdstore.rb
=> parse /sbin/ipvsadm output and store to rrd database
lvs_stats.sh
=> shell scripts executed from cron
color_list
=> color list which is used for all vs aggregated graph

#--------------------------------------------------------
# Install example
#--------------------------------------------------------
* install
#--------------------------------------------------------
cd /usr/local/src
tar xzf lvs_stats.tgz
mv lvs_stats /usr/local
cd /usr/local/lvs_stats

mkdir /usr/local/apache/htdocs/lvs_stats
mkdir /usr/local/apache/htdocs/lvs_stats/graph
mkdir /usr/local/apache/htdocs/lvs_stats/graph/{w,m,y}
mkdir /usr/local/apache/htdocs/lvs_stats/rrd
mv index.cgi /usr/local/apache/htdocs/lvs_stats
ln -s /usr/local/apache/htdocs/lvs_stats/graph
ln -s /usr/local/apache/htdocs/lvs_stats/rrd

* edit $LOAD_PATH of 'ipvs_rrd.rb' and 'lvs_rrdstore.rb'
$LOAD_PATH << 'path of directory where RRD.so reside'
#--------------------------------------------------------
* check
#--------------------------------------------------------
/usr/local/lvs_rrdstore.rb
ls -l rrd
/usr/local/lvs_rrdgraph.rb
ls -l graph

access following URL via browser
http://LVS_IP_ADDRESS/lvs_stats/index.cgi

#--------------------------------------------------------
* register to cron
#--------------------------------------------------------
mv lvs_stats.cron /etc/cron.d/lvs_stats

#--------------------------------------------------------

2009-01-18 t9md
* fix bug ( color of aggregated vs graph become monochrome )
this fix is quick fix, so supported number of virtual server is 50.
you can add more color to "color_list".

2008-11-25 t9md
* change initial RRD DataSource type for from COUNTER to DERIVE with minimal
value of '0'.

2008-11-24 t9md
* initial version released.

  • Review
  • News
  • Forum
  • Ticket
  • RSS

Project ReviewsProject Review by Users

5 Stars
(1)
4 Stars
(0)
3 Stars
(0)
2 Stars
(0)
1 Star
(0)
Linux Virtual Server Statistics Grapher's rating is

Last 3 reviews

(no comments)

Was this review helpful for you?:
YesNo
0


0
Project Review by Anonymous - 2011-07-05 06:50

Latest Project News for Linux Virtual Server Statistics Grapher

No Project News

latest Forum Posts for Linux Virtual Server Statistics Grapher

Post DateTitleForum NameWritten by
2008-11-24 23:58Welcome to HelpHelpAnonymous
2008-11-24 23:58Welcome to Open DiscussionOpen DiscussionAnonymous

Latest tickets for Linux Virtual Server Statistics Grapher

Not Tickets

RSS Feeds List for Linux Virtual Server Statistics Grapher

URL: http://sourceforge.jp/projects/lvs-stats/news/rss
URL: http://sourceforge.jp/projects/lvs-stats/releases/rss
URL: http://sourceforge.jp/projects/lvs-stats/reviews/rss
URL: http://sourceforge.jp/projects/lvs-stats/wiki/!feeds/diff
URL: http://sourceforge.jp/projects/lvs-stats/wiki/!feeds/list
URL: http://sourceforge.jp/export/rss_milestone.php?group_id=3894
URL: http://sourceforge.jp/projects/lvs-stats/history/rss

Software Map