Skip to content

Perfdata with dot in label splits into separate folders #210

Open
@log1-c

Description

Some checks don't display graphs for the perf data they collect.
Here is one example:
image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area/backendAffects the graphite backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions