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

From Freeside
Jump to: navigation, search
Line 9: Line 9:
 
   --out=routers.ddx \
 
   --out=routers.ddx \
 
   --discout=routers.xml
 
   --discout=routers.xml
 +
 
  torrus devdiscover  --in=routers.ddx  
 
  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
 
  torrus compile --tree=main --verbose
  
Line 16: Line 31:
 
  torrus collector --tree=main
 
  torrus collector --tree=main
  
= Monitoring new interfaces =
+
 
 +
= References =
 +
 
 +
* [http://torrus.org/install.pod.html Torrus install]
 +
* [http://torrus.org/userguide.pod.html Torrus userguide]
 +
* [http://torrus.org/reporting_setup.pod.html Torrus reporting setup]

Revision as of 19:17, 23 January 2011

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