New OpenURL action - Inserting a question mark into the URI?

Hi

I have some of checks/service names which are true URLs (looking like http://hostname/context).
I have created a new “icon and action” in Global Parameters called OpenURL which allows open the URL just clicking on the icon. Then I created a new rule to assign that new OpenURL to the services whose names I mentioned above.

It works fine for the most of those checks, but some ones are SOAP type, whose URIs end with ?wsdl in the form http://hostname/context/other?wsdl.

The problem is Check_MK removes any question mark from the service names and results in URLs like http://hostname/context/otherwsdl (question mark removed) which fail as opened.

I used $SERVICEDESC$ in the Action field of the definition of OpenURL.

Is there any way to either
a. insert that question mark into the real service name or
b. manipulate the Action field (replacing wsdl$ with ?wsdl)?

Best regards

Hi @JDamian,

for a:

maybe you can try to add the encoded form (%3F) of the question mark which should be interpreted by all browsers.

Hi

I tried that long time ago but it did not work.

I even asked this issue in the English mail list… nobody replied.

Thanks anyway.

Have you tried to use $SERVICEDESC_URL_ENCODED$ instead of $SERVICEDESC$?

Yes, but it is not useful.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.