[smokeping-users] Replace smoketrace with remocular - howto?

"Christoph Walser, ETH Zürich" walser at tik.ee.ethz.ch
Tue Feb 19 17:20:46 CET 2013


Hi,

I installed Remocular successfully and now want to integrate the trace
plugin into the "menuextra" option in smoketrace.

With smoketrace, we did it like this:

menuextra = <a target='_blank' href='http://example.com/tr.html{HOST}'
class='{CLASS}' \
    onclick="window.open(this.href,this.target, \

'width=800,height=500,toolbar=no,location=no,status=no,scrollbars=no'); \
    return false;">*</a>


I tried to adjust this for Remocular:


menuextra = <a target='_blank'
href='http://example.com/cgi-bin/remocular.fcgi/#ACT=RUN;PLG=remOcular::Plugin::TraceRoute;host={HOST};rounds=20;interval=2;iplevel=IPv4;method=default'
class='{CLASS}' \
    onclick="window.open(this.href,this.target, \

'width=800,height=500,toolbar=no,location=no,status=no,scrollbars=no'); \
    return false;">*</a>


This brings up 2 problems:

1) The # is not usable as the somkeping config file syntax uses # for
comments

2) The {HOST} macro is expanded with a # at the beginning which is not
accepted by remocular.

Any ideas on how to do this?

Best,
Christoph


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130219/2a1573df/attachment.pgp 


More information about the smokeping-users mailing list