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


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
smokeping-users mailing list
smokeping-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to