Setting default udp payload value for influxdb output
@@ -369,10 +369,11 @@ def parse_config(data, me_url, mdsd_url, is_lad, az_resource_id, subscription_id
if is_lad:
agentconf += " fielddrop = [" + excess_diskio_field_drop_list_str[:-2] + "]\n"
agentconf += " urls = [\"" + str(me_url) + "\"]\n\n"
+ agentconf += " udp_payload = \"1024B\"\n\n"
agentconf += "\n# Configuration for sending metrics to MDSD\n"
agentconf += "[[outputs.socket_writer]]\n"
agentconf += " namepass = [" + storage_namepass_str[:-2] + "]\n"
- agentconf += " data_format = \"influx\"\n\n"
+ agentconf += " data_format = \"influx\"\n"
agentconf += " address = \"" + str(mdsd_url) + "\"\n\n"
agentconf += "\n# Configuration for outputing metrics to file. Uncomment to enable.\n"
agentconf += "#[[outputs.file]]\n"
