09 Sep 2023 10:53 AM - last edited on 12 Dec 2023 02:41 PM by Ana_Kuzmenchuk
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.
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
20 Dec 2023 12:51 PM
Very good job.
Is this developed by Dynatrace or customer? Located on https://www.dynatrace.com/hub/?filter=all?
21 Dec 2023 02:56 PM
Thanks. This is developed by me.
It was an interesting task. I'm glad to be able to share some results here.
To post in the hub, I think I need to finish windows, but unfortunately, I have a huge number of projects and other work.
Regards,
Alex Romanenkov
21 Dec 2023 02:57 PM
Thanks
22 Dec 2023 12:14 AM
@Romanenkov_Al3x looks amazing, I will use this plugin. Thanks a lot for building this.
Thanks,
Tijust