Difference between revisions of "Freeside:2.3:Documentation:Torrus Installation"
From Freeside
(→Network discovery) |
(→Installation) |
||
Line 16: | Line 16: | ||
mkdir /srv/torrus/collector_rrd | mkdir /srv/torrus/collector_rrd | ||
− | chown freeside:freeside /srv/torrus/collector_rrd | + | chown freeside:freeside /srv/torrus/collector_rrd /usr/local/etc/torrus/discovery |
#or does this need to be after devdiscover/compile? | #or does this need to be after devdiscover/compile? |
Revision as of 23:21, 23 January 2011
Contents
Introduction
Torrus is a network monitoring system (NMS) for discovering and monitoring routers, switches and other network equipment with SNMP. Starting in version 2.3, Freeside includes an integrated/skinned Torrus (like it does RT), providing 95th percentile and straight volume billing.
Prerequisites
aptitude install rrdtool librrds-perl libxml-libxml-perl libberkeleydb-perl libtemplate-perl libproc-daemon-perl \ libnet-snmp-perl libapache-session-perl libjson-perl libdbix-abstract-perl libdbix-sequence-perl
Installation
In the Makefile, set TORRUS_ENABLED = 1
make configure-torrus make deploy
mkdir /srv/torrus/collector_rrd chown freeside:freeside /srv/torrus/collector_rrd /usr/local/etc/torrus/discovery
#or does this need to be after devdiscover/compile? torrus bs --global --verbose
Database configuration
In /usr/local/etc/torrus/conf/torrus-siteconfig.pl, edit the following lines if necessary (the installation process does not yet substitute them in from the Makefile)
$Torrus::SQL::connections{'Default'}{'dsn'} = 'DBI:mysql:database=torrus;host=dbhost.example.com'; $Torrus::SQL::connections{'Default'}{'username'} = 'torrus'; $Torrus::SQL::connections{'Default'}{'password'} = 'imiF1oih';
Network discovery
cd /usr/local/etc/torrus/discovery vi routers.txt #space-delimted router ip addresses torrus genddx \ --hostfile=routers.txt \ --domain=example.com \ --community=community_string \ --out=routers.ddx \ --discout=routers.xml torrus devdiscover --in=routers.ddx
torrus compile --tree=main --verbose
#launch data collector #XXX add to init torrus collector --tree=main
Cron and init script
http://torrus.org/install.pod.html#cron_job
Administration
Proceed to Freeside:2.3:Documentation:Torrus_Administration