cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom OneAgent healthcheck plugin | oneagentctl --healthcheck

Romanenkov_Al3x
DynaMight Pro
DynaMight Pro
 

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.

Romanenkov_Al3x_1-1694252014719.png

Romanenkov_Al3x_2-1694252023080.png

 

Romanenkov_Al3x_3-1694252044818.png

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

DT_NGINX_FORCE_UNKNOWN_VERSION_INSTRUMENTATION=1
5 REPLIES 5

Kenny_Gillette
DynaMight Leader
DynaMight Leader

Very good job.

Is this developed by Dynatrace or customer?  Located on https://www.dynatrace.com/hub/?filter=all?

 

Dynatrace Certified Professional

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

DT_NGINX_FORCE_UNKNOWN_VERSION_INSTRUMENTATION=1

radek_jasinski
DynaMight Guru
DynaMight Guru

Great:) Very good manual!

Thank you @Romanenkov_Al3x 

Have a nice day!

Thanks 

DT_NGINX_FORCE_UNKNOWN_VERSION_INSTRUMENTATION=1

tijust1
Advisor

@Romanenkov_Al3x looks amazing, I will use this plugin. Thanks a lot for building this.

Thanks,

Tijust

Dynatrace Professional Certified

Featured Posts