diff --git a/gstlal-burst/bin/gstlal_feature_aggregator b/gstlal-burst/bin/gstlal_feature_aggregator index 38f669d495409fa61a77c13cf338dc8f9a33d338..9f6a86161cff803018ff2c506338327a58c1cbad 100755 --- a/gstlal-burst/bin/gstlal_feature_aggregator +++ b/gstlal-burst/bin/gstlal_feature_aggregator @@ -64,6 +64,8 @@ def parse_command_line(): group.add_option("--influx-hostname", help = "Specify the hostname for the influxDB database. Required if --data-backend = influx.") group.add_option("--influx-port", help = "Specify the port for the influxDB database. Required if --data-backend = influx.") group.add_option("--influx-database-name", help = "Specify the database name for the influxDB database. Required if --data-backend = influx.") + group.add_option("--enable-auth", default=False, action="store_true", help = "If set, enables authentication for the influx aggregator.") + group.add_option("--enable-https", default=False, action="store_true", help = "If set, enables HTTPS connections for the influx aggregator.") group.add_option("--data-type", metavar = "string", help="Specify datatypes to aggregate from 'min', 'max', 'median'. Default: max") group.add_option("--num-processes", type = "int", default = 2, help = "Number of processes to use concurrently, default 2.") parser.add_option_group(group) @@ -116,6 +118,8 @@ class StreamAggregator(object): hostname=options.influx_hostname, port=options.influx_port, db=options.influx_database_name, + auth=options.enable_auth, + https=options.enable_https, reduce_across_tags=False, ) else: ### hdf5 data backend diff --git a/gstlal-burst/bin/gstlal_feature_monitor b/gstlal-burst/bin/gstlal_feature_monitor index b0bebc45b36d173546fd4a7934ff6a6e0ad8c0cb..ff46c9ce373e204d7794c2ebe1a7d99210e6a1b6 100755 --- a/gstlal-burst/bin/gstlal_feature_monitor +++ b/gstlal-burst/bin/gstlal_feature_monitor @@ -65,6 +65,8 @@ def parse_command_line(): group.add_option("--influx-hostname", help = "Specify the hostname for the influxDB database. Required if --data-backend = influx.") group.add_option("--influx-port", help = "Specify the port for the influxDB database. Required if --data-backend = influx.") group.add_option("--influx-database-name", help = "Specify the database name for the influxDB database. Required if --data-backend = influx.") + group.add_option("--enable-auth", default=False, action="store_true", help = "If set, enables authentication for the influx aggregator.") + group.add_option("--enable-https", default=False, action="store_true", help = "If set, enables HTTPS connections for the influx aggregator.") group.add_option("--data-type", metavar="string", help="Specify datatypes to aggregate from 'min', 'max', 'median'. Default = max") group.add_option("--num-processes", type = "int", default = 2, help = "Number of processes to use concurrently, default 2.") parser.add_option_group(group) @@ -121,6 +123,8 @@ class StreamMonitor(object): hostname=options.influx_hostname, port=options.influx_port, db=options.influx_database_name, + auth=options.enable_auth, + https=options.enable_https, reduce_across_tags=False, ) else: ### hdf5 data backend