NETWAYS / NETWAYS/icingaweb2-module-perfdatagraphs
How to escape white spaces in variable perfdatagraphs_config_highlight
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 34
- Forks
- 7
- Avg merge
- 37m
- Merged PRs (30d)
- 7
Description
These perfdatagraphs are awesome!
When I try to promote a metric to the top of the list of graphs, this does not work if there's a white space in the metric. Is there a way to set this up:
Error message :
`
[2026-01-09 14:07:55 +0800] critical/config: Error: syntax error, unexpected invalid token
/etc/icinga2/conf.d/vtmis/service-tfp.conf(62): vars.perfdatagraphs_config_highlight = "track\ in\ count"
^^
`
As visible in the screenshot, the metric did not promote to the top
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the configuration example at doc/03-Configuration.md line 63 and reproduce the reported setting in the referenced Icinga service configuration. Confirm the supported escaping or configuration form for metric names containing spaces, and verify that the metric is promoted without an Icinga syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100