Closed eichlerla2 closed 7 months ago
Graphite converts dots (".") in the perf values of a check to an slash.
Perfdata
/usr/lib/nagios/plugins/check_disk -w 15% -c 10% -l -X tmpfs -X devtmpfs -X proc -X sysfs -X udev -X devpts DISK OK - free space: / 5255 MB (54% inode=90%); /boot 411 MB (90% inode=99%); /opt/mysql.abc 40102 MB (41% inode=99%); /opt/mysql.def 28598 MB (18% inode=99%);| /=4312MB;8567;9071;0;10079 /boot=42MB;406;430;0;478 /opt/mysql.abc=55571MB;85674;90713;0;100793 /opt/mysql.def=122657MB;135444;143412;0;159347
is stored by graphite as
disk_dynamic # tree └── perfdata ├── _ │ ├── crit.wsp │ ├── max.wsp │ ├── value.wsp │ └── warn.wsp ├── _boot │ ├── crit.wsp │ ├── max.wsp │ ├── value.wsp │ └── warn.wsp ├── _dev │ └── value.wsp └── _opt_mysql ├── abc │ ├── crit.wsp │ ├── max.wsp │ ├── value.wsp │ └── warn.wsp └── def ├── crit.wsp ├── max.wsp ├── value.wsp └── warn.wsp
So some perf values are stored in subfolders below the normal folder. The default template should also catch the values in subfolders.
Graphs from values in subfolders are not shown in icingaweb2.
Graphs in subfolders should also shown. Maybe if metrics_filters value $perfdata$ is able to catch everything between perfdata and value.
[default-service.metrics_filters] value = "$service_name_template$.perfdata.$perfdata$.value"
icinga2 --version
As discussed w/ @bobapple (offline):
This may be an Icinga 2 issue (s/./_/).
s/./_/
Any news on this issue?
Expected Behavior
Graphite converts dots (".") in the perf values of a check to an slash.
Perfdata
is stored by graphite as
So some perf values are stored in subfolders below the normal folder. The default template should also catch the values in subfolders.
Current Behavior
Graphs from values in subfolders are not shown in icingaweb2.
Possible Solution
Graphs in subfolders should also shown. Maybe if metrics_filters value $perfdata$ is able to catch everything between perfdata and value.
Steps to Reproduce (for bugs)
Your Environment
icinga2 --version
): r2.9.1-1