summaryrefslogtreecommitdiff
path: root/doc/ucis.ano/bgp_graph
diff options
context:
space:
mode:
authorIvo Smits <Ivo@UCIS.nl>2013-05-03 17:27:51 +0200
committerIvo Smits <Ivo@UCIS.nl>2013-05-03 17:27:51 +0200
commit63fed7f008d271af51219b7d8dad3577580358c6 (patch)
tree2bdf86b2f0aa57e94672e397e184634c32fb8e53 /doc/ucis.ano/bgp_graph
parent26eae2fb4f7171b87f804ff0e58ed23ca83bfeb5 (diff)
downloadresdb-63fed7f008d271af51219b7d8dad3577580358c6.tar.gz
resdb-63fed7f008d271af51219b7d8dad3577580358c6.zip
Fixed bgp_graph readme.txt
Diffstat (limited to 'doc/ucis.ano/bgp_graph')
-rwxr-xr-xdoc/ucis.ano/bgp_graph/readme.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ucis.ano/bgp_graph/readme.txt b/doc/ucis.ano/bgp_graph/readme.txt
index b32c52f..10a00ef 100755
--- a/doc/ucis.ano/bgp_graph/readme.txt
+++ b/doc/ucis.ano/bgp_graph/readme.txt
@@ -29,16 +29,16 @@ $ ./path_list_to_dot.php < /tmp/paths.txt | dot -T png -o graph.png
You can combine data from as many routers as you like. More is better, because it will make the graph more accurate.
Or, in one single line:
-$ (./bgp_path_list_bird.sh; ./bgp_path_list_quagga.sh) | ./path_list_to_dot.php < /tmp/paths.txt | dot -T png -o graph.png
+$ (./bgp_path_list_bird.sh; ./bgp_path_list_quagga.sh) | ./path_list_to_dot.php | dot -T png -o graph.png
Graphing a remote quagga instance using http:
-$ wget http://remotehost/bgp_path_list_quagga.php -O - | ./path_list_to_dot.php < /tmp/paths.txt | dot -T png -o graph.png
+$ wget http://remotehost/bgp_path_list_quagga.php -O - | ./path_list_to_dot.php | dot -T png -o graph.png
Alternatively, you can use a cron job on the server to periodically update a static data file.
Graphing a remote instance using netcat:
server$ ./bgp_path_list_bird.sh | nc -l -p 9876
-client$ nc remotehost 9876 | ./path_list_to_dot.php < /tmp/paths.txt | dot -T png -o graph.png
+client$ nc remotehost 9876 | ./path_list_to_dot.php | dot -T png -o graph.png
You can also use inetd/xinetd on the server side for a more permanent solution.