Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Hardware and Server Configuration > System Monitor w/ b.w graphs /Hotsanic
forgot password?


Reply


Old
  Post #1 (permalink)   12-11-2004, 07:36 PM
HD Newbie
 
Join Date: Dec 2004
Posts: 3

Status: webmazter is offline
How To Install HotSaNIC

(03/25/04)

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

wget http://www.imagemagick.net/download/....7-10.i386.rpm
wget http://www.imagemagick.net/download/....7-10.i386.rpm
wget http://www.imagemagick.net/download/....7-10.i386.rpm
wget http://www.imagemagick.net/download/....7-10.i386.rpm
wget http://www.imagemagick.net/download/....7-10.i386.rpm

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'

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.
mkdir /var/www/html/HotSaNIC
cd /usr/local/HotSaNIC

./rrdgraph start
./makeindex.pl
./diagrams.pl
./convert.pl

You now have HotSaNIC installed

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

(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!
 
 
 


Old
  Post #2 (permalink)   03-19-2005, 11:25 AM
HD Newbie
 
Join Date: Mar 2005
Posts: 1

Status: dalem is offline
the download Page above is not working but this one does
http://heanet.dl.sourceforge.net/sou...0.5.0-pre5.tgz

and 1 step is missing for the traffic module
after cd var/settings
pico main

pico mod_traffic
press [ctrl -w] then type 'Examples:' then press [enter].
Uncomment the option that aplies to you
 
 
 


Old
  Post #3 (permalink)   03-31-2005, 05:35 PM
HD Newbie
 
Join Date: Mar 2005
Location: Irvine,California, USA
Posts: 23
Send a message via Yahoo to niteanddayhost

Status: niteanddayhost is offline
This application is alot like Cricket, which is very good for monitoring a network.

Just listing this application, as the installation is very similar, and mostly topic relevant.
__________________
Jon Campbell
Nite and Day Web Hosting
www.niteanddayhosting.com
 
 
 


Old
  Post #4 (permalink)   04-06-2005, 10:24 AM
HD Newbie
 
Join Date: Dec 2004
Posts: 3

Status: assuredhost.com is offline
Nagios is also helpfull and powerfull too.
__________________
Assured Hosting
US Servers | CPanel/Linux Servers | Fantastico | CPanelXP | 24/7/365 support
We believe life is nothing but supporting each other, so is the web hosting.
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: