HotSaNIC

tribal-dolphin

Verified User
Joined
Mar 12, 2004
Messages
48
Location
Rives, France
This is tested on RH9 and it's work greet.

Log in SSH to your box and type
# cd /root
# wget http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool.tar.gz
# tar -zxf rrdtool.tar.gz
# cd rrdtool-x.x.xx
# ./configure
# make site-perl-install
# make install

# cd..
# up2date ImageMagick
# wget http://www.imagemagick.net/download/linux/redhat-9.x/i386/ImageMagick-5.5.7-10.i386.rpm
# rpm -Uvh ImageMagick-5.5.7-10.i386.rpm

# cd /usr/local/
# wget http://ovh.dl.sourceforge.net/sourceforge/hotsanic/HotSaNIC-0.4.0.tgz
# tar -zxf HotSaNIC-0.4.0.tgz
# rm -rf HotSaNIC-0.4.0.tgz
# cd HotSaNIC
# ./setup.pl

# vi settings

and edit this parameters :
BINPATH="/usr/local/rrdtool-x.x.xx/bin"
WEBDIR="/var/www/html/graph"
CONVERTPATH="/usr/bin/convert"

End to finish :
# ./rrdtimer -i
# ./rrdgraph start

then edit rc.local to start HotSaNIC when the BOX reboot :
# vi /etc/rc.d/rc.local
add : /usr/local/HotSaNIC/rrdgraph start

That's all !!
 
Thanks for the HowTo but you might want to tell people what the bennifit is of installing this and what it actually does for them.

Regards,
Onno Vrijburg
 
Oh, I like this. I've given up on MRTG actually.

I always thought it was some form of security program actually.

I do have one question though. Why are you running up2date on ImageMagick (Which for me gives me a 6.0.7 version) followed up wget'ing an older version? Kind of defeats the purpose of doing the up2date, doesn't it?

-dr(Gone to install)mike
 
Last edited:
Because do an up2date install ImageMagick AND HIS DEPENDENCE
After, I update ImageMagick with the last RPM available because up2date don't see him.
 
tribal-dolphin said:
Because do an up2date install ImageMagick AND HIS DEPENDENCE
After, I update ImageMagick with the last RPM available because up2date don't see him.

Hmmm, worked fine for me without that step. Didn't ask for any dependant.

*shrug*

http://216.168.142.74/graph/

Can't get the bind graphs to work but I'll work on that later.

Thanks,
-drmike
 
I have been able to get this to work with the exception of bind and traffic. I get no images or data for these. Any ideas? I am running the latest version of HotSanic.

When I reindex and run HotSanic I get the following error for traffic:

----- modules/traffic -----
No database "./rrd/eth0.rrd" found
Please check if the daemon is running.
 
Last edited:
Worked like a charm on a FC4 but I couldn't get the bind graphs to work either, i'll post if I get it fixed.

Thanks for the howto, been looking for a tool like this for days.
 
Bind graphs fixed!

I have patched modules/bind/makeindex.pl see HERE

and fixed the path to the named stats file in modules/bind/settings (my conf was wrong)
 
I have installed rrdtool 1.2.15 and HostSanic 0.5.0-pre5

but all images cannot be displayed.

is there any way to check for this problem?
 
To get the images, the Hotsanic forums suggest you change the IMGFMT to png instead of gif.

Worked for me. :)

The Ping module and the interrupts don't work for me though.

cheers.
ashagg
 
Back
Top