Format ddns_update config file

This commit is contained in:
Markus Lorenz
2023-10-09 15:56:19 +02:00
parent a69ce7b85d
commit 557eb8d09e

View File

@@ -1,7 +1,7 @@
{ {
"code_name": "ddns_update", "code_name": "ddns_update",
"unique_prefix": "DDNS", "unique_prefix": "DDNS",
"enabled": true, "enabled": true,
"data_filters": [ "data_filters": [
{ {
"compare_column": "Object_PrimaryID", "compare_column": "Object_PrimaryID",
@@ -66,7 +66,9 @@
"settings": [ "settings": [
{ {
"function": "RUN", "function": "RUN",
"events": ["run"], "events": [
"run"
],
"type": "text.select", "type": "text.select",
"default_value": "disabled", "default_value": "disabled",
"options": [ "options": [
@@ -370,30 +372,45 @@
{ {
"function": "REPORT_ON", "function": "REPORT_ON",
"type": "text.multiselect", "type": "text.multiselect",
"default_value":["new","watched-changed"], "default_value": [
"options": ["new","watched-changed","watched-not-changed", "missing-in-last-scan"], "new",
"localized": ["name", "description"], "watched-changed"
"name" :[{ ],
"language_code":"en_us", "options": [
"string" : "Report on" "new",
}, "watched-changed",
{ "watched-not-changed",
"language_code":"es_es", "missing-in-last-scan"
"string" : "Informar sobre" ],
} ] , "localized": [
"description":[{ "name",
"language_code":"en_us", "description"
"string" : "Send a notification only on these statuses. <code>new</code> means a new unique (unique combination of PrimaryId and SecondaryId) object was discovered. <code>watched-changed</code> means that selected <code>Watched_ValueN</code> columns changed." ],
}, "name": [
{ {
"language_code":"es_es", "language_code": "en_us",
"string" : "Envíe una notificación solo en estos estados. <code>new</code> significa que se descubrió un nuevo objeto único (una combinación única de PrimaryId y SecondaryId). <code>watched-changed</code> significa que las columnas <code>Watched_ValueN</code> seleccionadas cambiaron." "string": "Report on"
}] },
} {
"language_code": "es_es",
"string": "Informar sobre"
}
],
"description": [
{
"language_code": "en_us",
"string": "Send a notification only on these statuses. <code>new</code> means a new unique (unique combination of PrimaryId and SecondaryId) object was discovered. <code>watched-changed</code> means that selected <code>Watched_ValueN</code> columns changed."
},
{
"language_code": "es_es",
"string": "Envíe una notificación solo en estos estados. <code>new</code> significa que se descubrió un nuevo objeto único (una combinación única de PrimaryId y SecondaryId). <code>watched-changed</code> significa que las columnas <code>Watched_ValueN</code> seleccionadas cambiaron."
}
]
}
], ],
"database_column_definitions": [ "database_column_definitions": [
{ {
"column": "Object_PrimaryID", "column": "Object_PrimaryID",
"css_classes": "col-sm-2", "css_classes": "col-sm-2",
"show": true, "show": true,
"type": "device_name_mac", "type": "device_name_mac",
@@ -414,7 +431,7 @@
] ]
}, },
{ {
"column": "Object_SecondaryID", "column": "Object_SecondaryID",
"css_classes": "col-sm-2", "css_classes": "col-sm-2",
"show": true, "show": true,
"type": "device_ip", "type": "device_ip",
@@ -452,7 +469,7 @@
] ]
}, },
{ {
"column": "Dummy", "column": "Dummy",
"mapped_to_column_data": { "mapped_to_column_data": {
"value": "DDNS" "value": "DDNS"
}, },
@@ -497,7 +514,7 @@
] ]
}, },
{ {
"column": "DateTimeChanged", "column": "DateTimeChanged",
"css_classes": "col-sm-2", "css_classes": "col-sm-2",
"show": true, "show": true,
"type": "label", "type": "label",