From f7e5e7625b04164ce2e0aac77a85bc03a7d48a6f Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 8 Jan 2011 00:56:06 +0000 Subject: torrus, RT#10574 --- torrus/FREESIDE_INSTALL | 30 +++++++++++++++++++++++++++--- torrus/FREESIDE_MODIFIED | 12 ++++++++++++ 2 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 torrus/FREESIDE_MODIFIED (limited to 'torrus') diff --git a/torrus/FREESIDE_INSTALL b/torrus/FREESIDE_INSTALL index 7432c0048..130168b60 100644 --- a/torrus/FREESIDE_INSTALL +++ b/torrus/FREESIDE_INSTALL @@ -1,11 +1,13 @@ i should move to the wiki once this is further along -aptitude install rrdtool librrds-perl libxml-libxml-perl libberkeleydb-perl libtemplate-perl libproc-daemon-perl libnet-snmp-perl libapache-session-perl libjson-perl +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 # in Makefile, set TORRUS_ENABLED = 1 make configure-torrus make deploy +set network_monitoring_system config setting to Torrus_Internal + #a little more one-offy from here so far http://torrus.org/install.pod.html#configuring_torrus : @@ -44,5 +46,27 @@ but do go from http://torrus.org/install.pod.html#cron_job on #--- -this seems to be required on restarts during dev (upgrades?) -rm /var/torrus/cache/* /var/torrus/db/render_cache.db +http://torrus.org/reporting_setup.pod.html + +cd /usr/local/etc/torrus/discovery +vi routers.ddx + + + + TESTING_1:TenGigabitEthernet2_1:Both:main, + TESTING_2:TenGigabitEthernet2_2:Both:main, + + +torrus devdiscover --in=routers.ddx +torrus compile --tree=main --verbose + +#kill collector, then restart +torrus collector --tree=main + +#--- + +add serviceids + +in freeside, setup svc_port service defs, packages with torrus billing types +order the package, provision an svc_port with a valid serviceid + diff --git a/torrus/FREESIDE_MODIFIED b/torrus/FREESIDE_MODIFIED new file mode 100644 index 000000000..34c361a73 --- /dev/null +++ b/torrus/FREESIDE_MODIFIED @@ -0,0 +1,12 @@ +configs/torrus-siteconfig.pl #turn of torrus auth, set URLs +perllib/Torrus/CGI.pm # header/footer +perllib/Torrus/Freeside.pm # header/footer +perllib/Torrus/Renderer.pm # header/footer + perllib/Torrus/Renderer/Freeside.pm # header/footer +perllib/Torrus/Renderer/Frontpage.pm # header/footer +perllib/Torrus/Renderer/HTML.pm # header/footer + perllib/Torrus/ReportOutput/Freeside.pm # header/footer +perllib/Torrus/ReportOutput/HTML.pm # header/footer +templates/html-incblocks.txt # header/footer +tempaltes/default-rrd.html # title beautification +sup/webplain/torrus.css #skinning -- cgit v1.2.1