Web Hosting Forums Web Discussions on Hosting Webmaster forums Web Hosting Forums Domain Name Forums Web Hosting

Old 08-29-2005, 08:47 PM   #1 (permalink)
Hosting Master
Join Date: Aug 2005
Location: New Delhi,India
Posts: 250
incript_services is on a distinguished road
Hotsanic bandwidth and system graphing

First, we will need to install or update ImageMagick
From root

rpm -Uvh *.rpm
rm -f ImageMagick-5.5.6*.rpm

Next, we will need to install RRDtool

wget http://people.ee.ethz.ch/~oetiker/we...-1.0.46.tar.gz
tar zxvf rrdtool-1.0.46.tar.gz
cd rrdtool-1.0.46
./configure
make
make install
make site-perl-install
cd ..
rm -fr rrdtool-1.0.46*

Now we will install and configure HotSaNIC

cd /usr/local
wget http://umn.dl.sourceforge.net/source...0.5.0-pre5.tgz

tar zxvf hotsanic-0.5.0-pre5.tgz
rm -f hotsanic-0.5.0-pre5.tgz
cd HotSaNIC
./setup.pl

You will be asked a number of questions during the install script.

Module found: APCUSV

Description:
Records some APC-UPS specific readouts:
- load percentage
- battery percentage
- time left when on battery
- output voltage
- system temperature
- battery voltage
Do you want to use this module? (Y/n) >
Choose 'n'

Module found: APPS

Description:
Records the number of instances of the specified applications.
Do you want to use this module? (Y/n) >
Choose 'y'
Do you want to show this module's graphs on the webpage? (Y/n) >
Choose 'y'

Module found: BIND

Description:
Records statistics from the ISC BIND nameserver
Do you want to use this module? (Y/n) >
Choose 'n'

Module found: DISKIO

Description:
Records I/O statistics for harddisks.
Do you want to use this module? (Y/n) >
Choose 'y'
Do you want to show this module's graphs on the webpage? (Y/n) >
Choose 'y'

Module found: DNET

Description:
Records stats for Distributed.net personal proxies

Do you want to use this module? (Y/n) >
Choose 'n'

Module found: MAILQ

Description:
Records outbound mail status.
Currently supported mail-systems: postfix
Do you want to use this module? (Y/n) >
Choose 'n'

Module found: NETSTAT

Description:
Records network socket-states.
Do you want to use this module? (Y/n) >
Choose 'y'
Do you want to show this module's graphs on the webpage? (Y/n) >
Choose 'y'

Module found: NETWORKS

Description:
Records IP- and protocol-based traffic stats.
ipchains/iptables required!
Do you want to use this module? (Y/n) >
Choose 'n'

Module found: PART

Description:
Records partition usages.
Do you want to use this module? (Y/n) >
Choose 'y'
Do you want to show this module's graphs on the webpage? (Y/n) >
Choose 'y'

Module found: PING

Description:
Records min/avg/max ping-times for configured hosts
Do you want to use this module? (Y/n) >
Choose 'n'
__________________
(Red Pepper)A Microsoft Products Blog with other Technology Updates.
incript_services is offline  
profile.gif home.gif sendpm.gif find.gif Reply With Quote
Old Sponsored Ads   # a.
Ads
Hosting Master
Join Date: Feb 2006
Location: HWHT
Posts: 1100
Ads is on a distinguished road



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
AdsPromoter is online
profile.gif sendpm.gif email.gif find.gif buddy.gif Reply With Quote
Old 08-29-2005, 08:47 PM   #2 (permalink)
Hosting Master
Join Date: Aug 2005
Location: New Delhi,India
Posts: 250
incript_services is on a distinguished road
Module found: SENSORS

Description:
Records stats for configured hardware sensors
LM-Sensors required!
Do you want to use this module? (Y/n) >
Choose 'n'

Module found: SHOUTCAST

Description:
Records remote stats for ShotCast servers

Note: The console-webbrowser "lynx" has to
be installed to use this module.
Do you want to use this module? (Y/n) >
Choose 'n'

Module found: SYSTEM

Description:
Records system specific data:
- cpu usage
- irqs
- loadavg
- memory / swap
- # of processes
- uptime
- # of users
Do you want to use this module? (Y/n) >

Choose 'y'
Do you want to show this module's graphs on the webpage? (Y/n) >
Choose 'y'

Module found: TRAFFIC

Description:
Records usage of ethernet devices (input / output)
Do you want to use this module? (Y/n) >
Choose 'y'
Do you want to show this module's graphs on the webpage? (Y/n) >
Choose 'y'

Module found: WORMS

Description:
Records stats for worm-impacts on local webserver
Do you want to use this module? (Y/n) >
Choose 'n'

You are now back at the command prompt. (If it asks you more questions, just accept the default answers.. we are using these settings below....)

-Let's configure HotSaNIC by entering the following.-

cd var/settings
pico main


press [ctrl -w] then type 'binpath' then press [enter]. Find and change this line.

BINPATH="not configured"

change to

BINPATH="/usr/local/rrdtool-1.0.46/bin"

press [ctrl -w] again then type 'webdir' then press [enter]. Find and change this line.

WEBDIR="not configured"

change to

WEBDIR="/var/www/html/HotSaNIC"

press [ctrl -w] again then type 'ctime' then press [enter]. Find and change this line.

CTIME="24"

change to

CTIME="4"

press [ctrl -w] again then type 'convertpath' then press [enter]. Find and change this line.

CONVERTPATH="not configured"

change to

CONVERTPATH="/usr/bin/convert"

Finally, to save and exit press [ctrl -x] Y then [enter]. At the prompt type.

cd /usr/local/HotSaNIC
mkdir /var/www/html/HotSaNIC
./rrdgraph start
./makeindex.pl
./diagrams.pl
./convert.pl

You now have HotSaNIC installed

To view HotSaNIC go to http://yourIPaddress/HotSaNICs/

(it will take a few mins for the graphs to generate data.

Now, Lets set HotSaNIC up so it will start when you reboot your server.

pico /etc/rc.local

Add this line:

/usr/local/HotSaNIC/./rrdgraph start

Then [ctrl -x] Y then [enter] to save

All Done!
__________________
(Red Pepper)A Microsoft Products Blog with other Technology Updates.
incript_services is offline  
profile.gif home.gif sendpm.gif find.gif Reply With Quote
Old Sponsored Ads   # a.
Ads
Hosting Master
Join Date: Feb 2006
Location: HWHT
Posts: 1100
Ads is on a distinguished road



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
AdsPromoter is online
profile.gif sendpm.gif email.gif find.gif buddy.gif Reply With Quote
Old 06-09-2007, 09:26 AM   #3 (permalink)
Community Mediate
Join Date: Sep 2005
Location: Netherlands
Posts: 588
Keuzeserver is on a distinguished road
Nice Thnx for the information.
__________________
Hotwebhostingtalk
Rules
Terms Of Service
F.A.Q.

Read before you post a new question!

Free 1 GB Space PLESK RELOADED Reseller Account - 50GB Bandwidth

Last edited by Keuzeserver : 06-09-2007 at 09:29 AM.
Keuzeserver is offline  
profile.gif home.gif sendpm.gif find.gif Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
inverseflow helpdesk system ? jaithis Programming Discussion 2 10-30-2006 12:04 PM
What billing system do you use and why? Dyna E-Commerce Discussion 13 10-27-2005 02:11 PM
Login System (Help) wajahat_mehdi88 Programming Discussion 9 09-24-2005 08:44 PM


All times are GMT. The time now is 03:50 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.