Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ThecaTTony opened this issue Oct 18, 2023 · 0 comments
Open

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

ThecaTTony opened this issue Oct 18, 2023 · 0 comments

Comments

@ThecaTTony
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant