Skip to content

Commit b9b1444

Browse files
committed
fix: icinga director definition
1 parent b87ded0 commit b9b1444

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

check-plugins/deb-updates/icingaweb2-module-director/deb-updates.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"methods_execute": "PluginCheck",
5353
"object_name": "cmd-check-deb-updates",
5454
"object_type": "object",
55-
"timeout": "10",
55+
"timeout": 60,
5656
"vars": {},
5757
"zone": null,
5858
"uuid": "abb6d1b1-e3fa-4f01-a9c6-2f183f450bb4"
@@ -64,7 +64,7 @@
6464
"apply_for": null,
6565
"assign_filter": null,
6666
"check_command": "cmd-check-deb-updates",
67-
"check_interval": 60,
67+
"check_interval": 86400,
6868
"check_period": null,
6969
"check_timeout": null,
7070
"command_endpoint": null,
@@ -92,15 +92,15 @@
9292
"notes_url": "https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/deb-updates",
9393
"object_name": "tpl-service-deb-updates",
9494
"object_type": "template",
95-
"retry_interval": 15,
95+
"retry_interval": 60,
9696
"service_set": null,
9797
"template_choice": null,
9898
"use_agent": null,
9999
"use_var_overrides": null,
100100
"vars": {
101101
"criticality": "C",
102102
"deb_updates_always_ok": false,
103-
"deb_updates_only_critical": false,
103+
"deb_updates_only_critical": true,
104104
"deb_updates_query": "1",
105105
"deb_updates_timeout": 60,
106106
"deb_updates_warning": 1

check-plugins/deb-updates/icingaweb2-module-director/deb-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ overwrites:
33
'["Command"]["cmd-check-deb-updates"]["timeout"]': 60
44
'["ServiceTemplate"]["tpl-service-deb-updates"]["check_interval"]': 86400
55
'["ServiceTemplate"]["tpl-service-deb-updates"]["retry_interval"]': 60
6-
'["ServiceTemplate"]["tpl-service-deb-updates"]["only_critical"]': True
6+
'["ServiceTemplate"]["tpl-service-deb-updates"]["vars"]["deb_updates_only_critical"]': True
77

check-plugins/rpm-updates/icingaweb2-module-director/rpm-updates.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,13 @@
100100
"vars": {
101101
"criticality": "C",
102102
"rpm_updates_always_ok": false,
103-
"rpm_updates_only_critical": false,
103+
"rpm_updates_only_critical": true,
104104
"rpm_updates_query": "1",
105105
"rpm_updates_timeout": 120,
106106
"rpm_updates_warning": 1
107107
},
108108
"volatile": null,
109109
"zone": null,
110-
"only_critical": true,
111110
"uuid": "aa827451-999d-4eea-9f2b-f91a22017c24"
112111
}
113112
},

check-plugins/rpm-updates/icingaweb2-module-director/rpm-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ overwrites:
33
'["Command"]["cmd-check-rpm-updates"]["timeout"]': 60
44
'["ServiceTemplate"]["tpl-service-rpm-updates"]["check_interval"]': 86400
55
'["ServiceTemplate"]["tpl-service-rpm-updates"]["retry_interval"]': 60
6-
'["ServiceTemplate"]["tpl-service-rpm-updates"]["only_critical"]': True
6+
'["ServiceTemplate"]["tpl-service-rpm-updates"]["vars"]["rpm_updates_only_critical"]': True

0 commit comments

Comments
 (0)