This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 240
Custom MACRO not interpreted in URL #5846
Comments
Hi, I try with Centreon web 2.8.15 and custom macro are interpreted. Did you generate and export configuration then restart poller? |
Hi Laurent, It works in Monitoring > Status Details > Services page, but in Monitoring > Status details > Hosts, it doesn't work. My custom MACRO isn't replaced and in my URL I have %24MYCUSTOMMACRO%24 And yes I have generated, exported then restart my poller. |
@Hellnino18 can you try this patch on www/include/monitoring/status/Hosts/xml/hostXML.php:
|
@lpinsivy thx it works 👍 |
lpinsivy
added
area/monitoring
kind/bug
priority/trivial
and removed
status/more-info-needed
Waiting for more information
labels
Nov 2, 2017
OK everything looks good to me. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Since we are in Centreon 2.8.13, (from 2.6), the custom MACRO ($_HOSTMYMACRO$ ) are not interpreted in "Host Extended Infos" => URL. This is a link to our wiki, and I get that :
https://myurl.domain.tld/index.php/$_HOSTMYMACRO$#Goodhostname
In host configuration, this is what I declared : https://myurl.domain.tld/index.php/$_HOSTMYMACRO$#$HOSTNAME$
with HOSTMYMACRO : text_12_34
In Centreon 2.6 this works.
Thanks for your help (same problem in template or directly in host configuration).
The text was updated successfully, but these errors were encountered: