diff --git a/ldms/man/ldmsd_yaml_parser.man b/ldms/man/ldmsd_yaml_parser.man index eaa941159..9e5937fa8 100644 --- a/ldms/man/ldmsd_yaml_parser.man +++ b/ldms/man/ldmsd_yaml_parser.man @@ -278,7 +278,7 @@ The permissions to modify the producer in the future. String of octal number or .TP .BR [producers] .br -Optional regular expression matching zero or more producers to add to this updater. If omitted, all producers in the parent dictionary will be added to this updater. +Optional regular expression matching zero or more producers to add to this updater. If omitted with prdcr_listen, all producers will be added to the updater. .TP .BR [sets] .br diff --git a/ldms/python/ldmsd/parser_util.py b/ldms/python/ldmsd/parser_util.py index 0f55156c1..56bafda6c 100644 --- a/ldms/python/ldmsd/parser_util.py +++ b/ldms/python/ldmsd/parser_util.py @@ -563,7 +563,11 @@ def build_updaters(self, config): if type(prod_regex) is not str and prod_regex is not None: raise TypeError(f'Error: Configuration error in keyword "producers". Only regex string values are valid.') if prod_regex is None: - prod_regex = expand_names(prod['endpoints']) + if 'endpoints' in prod: + prod_regex = expand_names(prod['endpoints']) + else: + # When using producer listen, if "producers" is not specified in the updaters dictionary, all producers will be added + prod_regex = '.*' updtr = { 'name' : updtr_name, 'interval' : check_intrvl_str(updtr_spec['interval']),