Freeside:2.3:Documentation:Torrus Administration

From Freeside
Revision as of 20:17, 23 January 2011 by Ivan (talk | contribs)

Jump to: navigation, search

Adding new routers

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

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