The constants include the name of the new data collector, as well as the folder path of the script diagnose data collector should run to get information about node health.
Signed-off-by: BSRK Aditya <[email protected]> --- src/Ganeti/Constants.hs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Ganeti/Constants.hs b/src/Ganeti/Constants.hs index 4cba0d5..cf1a922 100644 --- a/src/Ganeti/Constants.hs +++ b/src/Ganeti/Constants.hs @@ -5409,6 +5409,9 @@ dataCollectorLv = "lv" dataCollectorInstStatus :: String dataCollectorInstStatus = "inst-status-xen" +dataCollectorDiagnose :: String +dataCollectorDiagnose = "diagnose" + dataCollectorParameterInterval :: String dataCollectorParameterInterval = "interval" @@ -5420,6 +5423,7 @@ dataCollectorNames = , dataCollectorLv , dataCollectorInstStatus , dataCollectorXenCpuLoad + , dataCollectorDiagnose ] dataCollectorStateActive :: String @@ -5431,6 +5435,9 @@ dataCollectorsEnabledName = "enabled_data_collectors" dataCollectorsIntervalName :: String dataCollectorsIntervalName = "data_collector_interval" +dataCollectorDiagnoseDirectory :: String +dataCollectorDiagnoseDirectory = sysconfdir ++ "/ganeti/node-diagnose-commands" + -- * HTools tag prefixes exTagsPrefix :: String -- 1.7.10.4
