Hello everyone!
Maybe this plugin will be useful, especially in large organizations when the right hand does not know what the left hand is doing. At the same time monitoring is critical too.
Great use case: when somebody from the security team or the Ops team changes the capabilities and rights to the Dynatrace OneAgent folder without having any idea - how it will affect the system, just execute his own internal instructions & restrictions.
custom_healthcheck_plugin
Plugin uses oneagentctl healthcheck command.
Plugin uses status metrics. Consumes only one metric.
default path to oneagentctl: /opt/dynatrace/oneagent/agent/tools/oneagentctl
default path to logs: /var/log/dynatrace/oneagent/
recommended path to healthcheck file: /var/log/dynatrace/oneagent/healthcheck
mode - 0 - execution in minutes (00, 15, 30, 45) mode - 1 - execution every minute
Detects:
FAILURE_user_and_group
FAILURE_file_structure
FAILURE_file_capabilities
FAILURE_file_checksum
FAILURE_selinux
FAILURE_apparmor
FAILURE_installer_logs
FAILURE_watchdog_logs
Plugin works only on linux.
Regards,
Alex Romanenkov


