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

From Freeside
Jump to: navigation, search
Line 1: Line 1:
 
= Adding new routers =
 
= Adding new routers =
 +
 +
== Web UI ==
 +
 +
== Manually ==
  
 
  cd /usr/local/etc/torrus/discovery
 
  cd /usr/local/etc/torrus/discovery
Line 17: Line 21:
  
 
= Monitoring new interfaces =
 
= Monitoring new interfaces =
 +
 +
== Web UI ==
 +
 +
== Manually ==
  
 
  cd /usr/local/etc/torrus/discovery
 
  cd /usr/local/etc/torrus/discovery

Revision as of 20:18, 23 January 2011

Adding new routers

Web UI

Manually

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
#kill collector, then restart
torrus collector --tree=main

Monitoring new interfaces

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


References