Skip to content

Commit

Permalink
all-the-rest.json: New TuneD Service Set
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed May 11, 2024
1 parent f24e8db commit 7cc5c10
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 89 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Monitoring Plugins:

### Added

Icinga Director:

* all-the-rest.json: New TuneD Service Set

Monitoring Plugins:

* dhcp-relayed (a port of [check_dhcp_relayed](https://exchange.nagios.org/directory/Plugins/Network-Protocols/DHCP-and-BOOTP/check_dhcp_relayed/details))
Expand Down
191 changes: 103 additions & 88 deletions assets/icingaweb2-module-director/all-the-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2590,6 +2590,12 @@
"entry_value": "Tarifpool v2",
"format": "string"
},
{
"allowed_roles": null,
"entry_name": "tuned",
"entry_value": "TuneD",
"format": "string"
},
{
"allowed_roles": null,
"entry_name": "ubuntu16",
Expand Down Expand Up @@ -28038,51 +28044,6 @@
"volatile": null,
"zone": null
},
"Systemd Unit - tuned.service": {
"action_url": null,
"apply_for": null,
"assign_filter": null,
"check_command": null,
"check_interval": null,
"check_period": null,
"check_timeout": null,
"command_endpoint": null,
"disabled": false,
"display_name": null,
"enable_active_checks": null,
"enable_event_handler": null,
"enable_flapping": null,
"enable_notifications": null,
"enable_passive_checks": null,
"enable_perfdata": null,
"event_command": null,
"fields": [],
"flapping_threshold_high": null,
"flapping_threshold_low": null,
"groups": [],
"host": null,
"icon_image": null,
"icon_image_alt": null,
"imports": [
"tpl-service-systemd-unit"
],
"max_check_attempts": null,
"notes": null,
"notes_url": null,
"object_name": "Systemd Unit - tuned.service",
"object_type": "object",
"retry_interval": null,
"service_set": null,
"template_choice": null,
"use_agent": null,
"use_var_overrides": null,
"uuid": "76d89908-70e6-4508-be7b-134527791e9d",
"vars": {
"systemd_unit_unit": "tuned.service"
},
"volatile": null,
"zone": null
},
"Systemd Units Failed": {
"action_url": null,
"apply_for": null,
Expand Down Expand Up @@ -28128,49 +28089,6 @@
"volatile": null,
"zone": null
},
"TuneD Profile": {
"action_url": null,
"apply_for": null,
"assign_filter": null,
"check_command": null,
"check_interval": null,
"check_period": null,
"check_timeout": null,
"command_endpoint": null,
"disabled": false,
"display_name": null,
"enable_active_checks": null,
"enable_event_handler": null,
"enable_flapping": null,
"enable_notifications": null,
"enable_passive_checks": null,
"enable_perfdata": null,
"event_command": null,
"fields": [],
"flapping_threshold_high": null,
"flapping_threshold_low": null,
"groups": [],
"host": null,
"icon_image": null,
"icon_image_alt": null,
"imports": [
"tpl-service-tuned-profile"
],
"max_check_attempts": null,
"notes": null,
"notes_url": null,
"object_name": "TuneD Profile",
"object_type": "object",
"retry_interval": null,
"service_set": null,
"template_choice": null,
"use_agent": null,
"use_var_overrides": null,
"uuid": "0d9bd0b1-89b9-43d3-a3e2-effdd4b51ae7",
"vars": {},
"volatile": null,
"zone": null
},
"Uptime": {
"action_url": null,
"apply_for": null,
Expand Down Expand Up @@ -39999,6 +39917,103 @@
},
"uuid": "f39bd6e2-03a3-4694-9b53-8e416642aa65"
},
"TuneD Service Set": {
"assign_filter": "\"tuned\"=host.vars.tags",
"description": null,
"object_name": "TuneD Service Set",
"object_type": "template",
"services": {
"Systemd Unit - tuned.service": {
"action_url": null,
"apply_for": null,
"assign_filter": null,
"check_command": null,
"check_interval": null,
"check_period": null,
"check_timeout": null,
"command_endpoint": null,
"disabled": false,
"display_name": null,
"enable_active_checks": null,
"enable_event_handler": null,
"enable_flapping": null,
"enable_notifications": null,
"enable_passive_checks": null,
"enable_perfdata": null,
"event_command": null,
"fields": [],
"flapping_threshold_high": null,
"flapping_threshold_low": null,
"groups": [],
"host": null,
"icon_image": null,
"icon_image_alt": null,
"imports": [
"tpl-service-systemd-unit"
],
"max_check_attempts": null,
"notes": null,
"notes_url": null,
"object_name": "Systemd Unit - tuned.service",
"object_type": "object",
"retry_interval": null,
"service_set": null,
"template_choice": null,
"use_agent": null,
"use_var_overrides": null,
"uuid": "c11b632e-d361-4760-8cfb-5f1b57f577fc",
"vars": {
"systemd_unit_unit": "tuned.service"
},
"volatile": null,
"zone": null
},
"TuneD Profile": {
"action_url": null,
"apply_for": null,
"assign_filter": null,
"check_command": null,
"check_interval": null,
"check_period": null,
"check_timeout": null,
"command_endpoint": null,
"disabled": false,
"display_name": null,
"enable_active_checks": null,
"enable_event_handler": null,
"enable_flapping": null,
"enable_notifications": null,
"enable_passive_checks": null,
"enable_perfdata": null,
"event_command": null,
"fields": [],
"flapping_threshold_high": null,
"flapping_threshold_low": null,
"groups": [],
"host": null,
"icon_image": null,
"icon_image_alt": null,
"imports": [
"tpl-service-tuned-profile"
],
"max_check_attempts": null,
"notes": null,
"notes_url": null,
"object_name": "TuneD Profile",
"object_type": "object",
"retry_interval": null,
"service_set": null,
"template_choice": null,
"use_agent": null,
"use_var_overrides": null,
"uuid": "e668137a-1c2a-4740-a98e-5a739d039b6f",
"vars": {},
"volatile": null,
"zone": null
}
},
"uuid": "327ecd89-c91f-441c-a22c-a791d188deb2"
},
"UPS Service Set (Network UPS Tools, nut)": {
"assign_filter": "\"nut\"=host.vars.tags",
"description": null,
Expand Down
3 changes: 2 additions & 1 deletion check-plugins/about-me/about-me
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ except ImportError:


__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
__version__ = '2024041701'
__version__ = '2024051101'

DESCRIPTION = 'Provides a quick overview of host dimensions and software.'

Expand Down Expand Up @@ -401,6 +401,7 @@ def get_lftags():
{'sw': 'system update', 'package': [], 'expr': [run_cmd('systemctl is-active notify-and-schedule.timer', ignore_output=True)]}, # pylint: disable=C0301
{'sw': 'Systemd Timesyncd', 'package': [], 'expr': [run_cmd('systemctl is-active systemd-timesyncd.service', ignore_output=True)]}, # pylint: disable=C0301
{'sw': 'Tarifpool v2', 'package': [], 'expr': [os.path.isdir('/opt/tarifpool')]}, # pylint: disable=C0301
{'sw': 'TuneD', 'package': [], 'expr': [run_cmd('systemctl is-active tuned.service', ignore_output=True)]},
# {'sw': 'UPS (Network UPS Tools, nut)', 'package': [], 'expr': []}, # pylint: disable=C0301
{'sw': 'vsftpd', 'package': ['vsftpd'], 'expr': [os.path.isdir('/etc/vsftpd'), run_cmd('systemctl is-active vsftpd.service', ignore_output=True)]}, # pylint: disable=C0301
{'sw': 'Wildfly', 'package': [], 'expr': [os.path.isdir('/opt/wildfly')]}, # pylint: disable=C0301
Expand Down

0 comments on commit 7cc5c10

Please sign in to comment.