icinga2/lib
Yonas Habteab 24d95e1178 PluginUtility: Fix PerfData don't get parsed correctly
The problem was that some PerfData labels contained several whitespace characters,
not just one, and therefore it was parsed incorrectly in `SplitPerfdata()`. I.e. the condition
in line 144 checks whether the first and last character is a normal quote, but since the
label can contain spaces at the beginning and at the end respectively, this caused the problems.

This PR fixes the problem by removing all occurring whitespace from the beginning and end,
before starting to parse the actual label.
2023-04-05 15:37:54 +02:00
..
base Merge pull request #9497 from Icinga/9249 2023-03-10 16:04:54 +01:00
checker CheckerComponent#CheckThreadProc(): also propagate next check update to Icinga DB 2023-02-01 16:25:56 +01:00
cli Forbid dependency cycles 2023-02-06 12:33:48 +01:00
compat Deduplicate and stabilize fragile filesystem transactions 2023-01-27 12:03:56 +01:00
config Merge pull request #9466 from Icinga/flush-temp-files 2023-02-02 16:29:11 +01:00
db_ido Centralise default icinga.* and env.* macros 2023-02-17 15:33:36 +01:00
db_ido_mysql CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
db_ido_pgsql CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
icinga PluginUtility: Fix PerfData don't get parsed correctly 2023-04-05 15:37:54 +02:00
icingadb Centralise default icinga.* and env.* macros 2023-02-17 15:33:36 +01:00
livestatus Centralise default icinga.* and env.* macros 2023-02-17 15:33:36 +01:00
methods Centralise default icinga.* and env.* macros 2023-02-17 15:33:36 +01:00
mysql_shim IDO MySQL: explicitly use latin1 2022-03-31 15:04:45 +02:00
notification Merge pull request #9123 from Icinga/bugfix/icinga2-crashes-when-sending-notifications-8186 2022-01-19 11:48:40 +01:00
perfdata Merge pull request #8302 from Icinga/bugfix/windows-systemroot-aliases-6259 2023-02-20 13:09:15 +01:00
pgsql_shim Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
remote Merge pull request #9466 from Icinga/flush-temp-files 2023-02-02 16:29:11 +01:00
CMakeLists.txt Rename ICINGA2_WITH_REDIS to ICINGA2_WITH_ICINGADB 2019-11-02 14:00:24 +01:00