diff --git a/CHANGELOG.md b/CHANGELOG.md index eb43bee5..d265925e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) diff --git a/assets/icingaweb2-module-director/all-the-rest.json b/assets/icingaweb2-module-director/all-the-rest.json index b1b11393..8062dba5 100644 --- a/assets/icingaweb2-module-director/all-the-rest.json +++ b/assets/icingaweb2-module-director/all-the-rest.json @@ -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", @@ -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, @@ -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, @@ -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, diff --git a/check-plugins/about-me/about-me b/check-plugins/about-me/about-me index e002a485..0fec114a 100755 --- a/check-plugins/about-me/about-me +++ b/check-plugins/about-me/about-me @@ -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.' @@ -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