pub fn add_generic_threshold( config_json: &str, params: AddGenericThresholdParams<'_>, ) -> Result<String>
Add a new generic threshold (CFG_GENERIC_THRESHOLD record)
config_json
params
Modified configuration JSON string