icingaweb2-module-generictts icon indicating copy to clipboard operation
icingaweb2-module-generictts copied to clipboard

I tried everything and the module does not seem to work.

Open ThecaTTony opened this issue 8 months ago • 0 comments

Hi, I can't get the module to work and replace the pattern with the link to the ticketing system (mantisbt). The module is installed, enabled and configured, but regardless of the regular expression pattern used, all I can get is #12345 to display as a level 1 html header (h1).

This is the config:

[mantisbt]
pattern = "/#([0-9]{4-7})/"
url = "https://bpms.xxxxxx.com.xx/mantisbt/view.php?id=$1"

I also tried the following patterns:

"#([0-9]{4-7})"
"#/([0-9]{4-7})/"
"/#([0-9]+)/"
"/\#([0-9]{4-7})/"
"\#([0-9]{4-7})"

I enabled the DEBUG log level in icingaweb2 but did not get anything relevant.

Some screenshots:

generictts1

generictts2 (this is one of the config I tried)

System info:

  • Module version (System - About): 2.1.0
  • Icinga Web 2 version and modules (System - About): 2.12.0
  • Icinga 2 version (icinga2 --version): 2.14.0
  • Operating System and version: Archlinux
  • Webserver, PHP versions: nginx 2.14 php 8.2.10

ThecaTTony avatar Oct 18 '23 17:10 ThecaTTony