Difference between revisions of "Freeside:2.3:Documentation:Torrus Administration"

From Freeside
Jump to: navigation, search
(Manually)
(Adding new routers)
Line 6: Line 6:
  
 
  cd /usr/local/etc/torrus/discovery
 
  cd /usr/local/etc/torrus/discovery
  vi routers.txt #space-delimted router ip addresses
+
  vi routers.ddx
torrus genddx \
 
  --hostfile=routers.txt \
 
  --domain=example.com \
 
  --community=community_string \
 
  --out=routers.ddx \
 
  --discout=routers.xml
 
  
  #note: if you have to do this again, use a different --out file and merge the result :/
+
Add a section like this at the bottom, just before the final </snmp-discovery>:
 +
 
 +
  <host>
 +
    <param name="snmp-host" value="204.26.60.252"/>
 +
  </host>
  
torrus devdiscover  --in=routers.ddx
 
 
  torrus compile --tree=main --verbose
 
  torrus compile --tree=main --verbose
  

Revision as of 23:18, 23 January 2011

Adding new routers

Web UI

Manually

cd /usr/local/etc/torrus/discovery
vi routers.ddx

Add a section like this at the bottom, just before the final </snmp-discovery>:

 <host>
   <param name="snmp-host" value="204.26.60.252"/>
 </host>
torrus compile --tree=main --verbose
#kill collector, then restart
torrus collector --tree=main

Monitoring new interfaces

Torrus

Web UI

Manually

cd /usr/local/etc/torrus/discovery
vi routers.ddx
  <param name="RFC2863_IF_MIB::external-serviceid">
    TESTING_1:TenGigabitEthernet2_1:Both:main,
    TESTING_2:TenGigabitEthernet2_2:Both:main,
  </param>
torrus devdiscover  --in=routers.ddx 
torrus compile --tree=main --verbose
#kill collector, then restart
torrus collector --tree=main

Freeside

  • Setup an svc_port service definition, include it in a package definition with "Bandwidth (volume)" or "Bandwidth (95th percentile)" price plan.
  • Order the package for a customer, and provision the Port service.
  • The "Torrus serviceid" dropdown will have a list of the currently monitored serviceids.

References