47 {
48 cfg.add_options()
49 ( "resource-monitor-interval-seconds", bpo::value<uint32_t>()->default_value(def_interval_in_secs),
50 "Time in seconds between two consecutive checks of resource usage. Should be between 1 and 300" )
51 ( "resource-monitor-space-threshold", bpo::value<uint32_t>()->default_value(def_space_threshold),
52 "Threshold in terms of percentage of used space vs total space. If used space is above (threshold - 5%), a warning is generated. Unless resource-monitor-not-shutdown-on-threshold-exceeded is enabled, a graceful shutdown is initiated if used space is above the threshold. The value should be between 6 and 99" )
53 ( "resource-monitor-not-shutdown-on-threshold-exceeded",
54 "Used to indicate nodeop will not shutdown when threshold is exceeded." )
55 ( "resource-monitor-warning-interval", bpo::value<uint32_t>()->default_value(def_monitor_warning_interval),
56 "Number of resource monitor intervals between two consecutive warnings when the threshold is hit. Should be between 1 and 450" )
57 ;
58 }