Hostmetrics user string (#6850)

This commit is contained in:
Jonathan Bennett
2025-05-20 13:04:05 -05:00
committed by GitHub
co-authored by GitHub
parent c70fa0ef13
commit e0f878872f
4 changed files with 16 additions and 7 deletions
+1
View File
@@ -603,6 +603,7 @@ bool loadConfig(const char *configPath)
if (yamlConfig["HostMetrics"]) {
settingsMap[hostMetrics_channel] = (yamlConfig["HostMetrics"]["Channel"]).as<int>(0);
settingsMap[hostMetrics_interval] = (yamlConfig["HostMetrics"]["ReportInterval"]).as<int>(0);
settingsStrings[hostMetrics_user_command] = (yamlConfig["HostMetrics"]["UserStringCommand"]).as<std::string>("");
}
if (yamlConfig["General"]) {