From 4ac6bf769b09ba7bd39778297f0e9699ee263256 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Fri, 13 Jun 2008 21:34:28 +0000 Subject: prepare for the release of smokeping-2.4.1 --- doc/smoketrace.pod | 44 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/smoketrace.pod b/doc/smoketrace.pod index 6f0374b..8ff24bd 100755 --- a/doc/smoketrace.pod +++ b/doc/smoketrace.pod @@ -10,30 +10,48 @@ users to traceroute smokeping targets directly from the master host. =head1 SETUP -To activate SmokeTrace you just have to copy a few files: +To activate SmokeTrace you have to copy a few files to your webserver. =over =item 1. -Copy C to your smokeping web directory. +Make sure your webserver can execute cgi files outside the cgi-bin +directory. Maybe it is enough to create a F<.htaccess> file with the +following contents into the smokeping web directory ($web). + + AddHandler cgi-script cgi + Options ExecCGI + +=item 2. + +Copy C to your smokeping web directory (NOT the cgi-bin +directory!). + + mkdir $web/script + cp $src/htdocs/script/Tr.js $web/script/ =item 2. -Copy and edit C to your smokeping web directory. Make -sure the path to C is correct. +Copy C to your smokeping web directory (NOT cgi-bin). Make +sure the path, pointing to C is correct. + + cp $src/htdocs/tr.html $web/ =item 3. -Copy C into the directory where you put C. +Copy C into the directory where you put C + + cp -r $src/htdocs/resource $web/ =item 4. -Copy F to the directory where you put -C. Change its name to C. Edit C to adjust -the C line, to point to the smokeping perl library directory, as you did -with C. Make sure the webserver actually executes the -C script. +Copy F to the directory where you put C. Change +its name to C. Edit C to adjust the C line, to +point to the smokeping perl library directory, as you did with +C and the smokeping daemon. + + cp $src/htdocs/tr.cgi.dist $web/tr.cgi =item 5. @@ -47,8 +65,14 @@ Edit your config file and add the line: to your C<*** Targets ***> section. It will make a C<*> appear next to each host name, and when you click on it, the SmokeTrace window will open. +Note that the C atribut must point to the directory where you put the +C file. + =back +Not you should be all set. Try calling C from your webbrowser. You +should get some error message about not having sent a JSON request. + =head1 COPYRIGHT Copyright (c) 2008 by Tobias Oetiker. All rights reserverd. -- cgit v1.2.3-24-g4f1b