Icinga / Icinga/icingaweb2-module-graphite
Perfdata with dot in label splits into separate folders
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 73
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Some checks don't display graphs for the perf data they collect.
Here is one example:

The label name has a dot in the name (blabla_backup.bak size).
The normal behavior is that special characters and spaces are replaced by an underscore when creating the folder structure.
When there is a dot in the perf data label this does not seem to work, as I get the following folder structure for this check:
/var/lib/graphite/whisper/icinga2/HOSTNAME/services/SERVICENAME/CHECKCOMMAND/perfdata/PART-BEFORE-THE-DOT/PART-AFTER-THE-DOT/*.wsp files
e.g. for the screenshot above
/var/lib/graphite/whisper/icinga2/HOSTNAME/services/file_size_Tibros_172_backup/nrpe/perfdata/tibros172_backup/bak_size/value.wsp
-----^^^^------ ^^^^
Best regards,
log1c
Contributor guide
No contributing guide indexed for this repository
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 by locating the code that converts perfdata labels into Graphite/Whisper folder paths, then reproduce the example label blabla_backup.bak size. Done means the dot and spaces are normalized consistently so the label remains in the intended folder rather than creating separate PART-BEFORE-THE-DOT and PART-AFTER-THE-DOT directories.
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