05 Sep 2024 10:35 PM - last edited on 06 Sep 2024 08:05 AM by MaciejNeumann
The Elasticsearch cluster metrics are not being reported. CPU and Memory metrics are getting reported.
Enable Extension Execution Controller was enabled for the instance, and the extension was installed via the UI.
Below is an excerpt of the file - /var/log/dynatrace/oneagent/plugin/ruxitagent_pluginagent_2201969.0.log
Not sure what is causing the PermissionError ... The Oneagent is running in a RHEL 8.x instance.
-----------------
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 839, in exec_module
File "<frozen importlib._bootstrap_external>", line 975, in get_code
File "<frozen importlib._bootstrap_external>", line 1032, in get_data
PermissionError: [Errno 1] Operation not permitted: '/var/lib/dynatrace/oneagent/agent/runtime/plugins_unpacked/dynatrace.python.heartbeat/dynatrace.python.heartbeat/dynatrace_heartbeat.py'
), 108051.593516263), ('dynatrace.python.ntp', 1964374825940273044): (PluginFullStatus(pluginName=dynatrace.python.ntp, pluginVersion=2.016, state=UNINITIALIZED, description=, monitoredEntityId=0x1b42dc7f19e3c794, stacktrace=), 108037.579487893), ('ruxit.python.elasticsearch', 18235508247881739438): (PluginFullStatus(pluginName=ruxit.python.elasticsearch, pluginVersion=3.200, state=UNINITIALIZED, description=, monitoredEntityId=0xfd118a22b5b26cae, stacktrace=), 108037.579490986)}
2024-09-05 21:24:00.191 UTC [00219fe4] info [native] 140118690813696(ThreadPoolExecutor-0_0) - [event_set_configuration] event_set_configuration, plugin: <PluginEngine, meta_name:dynatrace.python.heartbeat id:0x7f6fed1a43d0>
2024-09-05 21:24:00.194 UTC [00219a0f] info [native] 140118843025152(MainThread) - [one_plugin_loop_step] plugin <PluginEngine, meta_name:dynatrace.python.heartbeat id:0x7f6fed1a43d0> threw exception [Errno 1] Operation not permitted: '/var/lib/dynatrace/oneagent/agent/runtime/plugins_unpacked/dynatrace.python.heartbeat/dynatrace.python.heartbeat/dynatrace_heartbeat.py'
2024-09-05 21:24:40.399 UTC [00219971] debug [native] Did not find docker socket in: /var/run/docker.sock /var/run/docker/docker.sock /var/vcap/sys/run/docker/docker.sock
2024-09-05 21:24:46.237 UTC [00219a0f] info [native] 140118843025152(MainThread) - [do] Plugin loop status: time_taken: 0.0008938030077842996, engines_info: ['<PluginEngine, meta_name:ruxit.python.elasticsearch id:0x7f6fecd51dc0>, '
'executions:0 ',
'<PluginEngine, meta_name:dynatrace.python.ntp id:0x7f6fecd518e0>, '
'executions:0 ',
'<PluginEngine, meta_name:dynatrace.python.heartbeat id:0x7f6fed1a43d0>, '
'executions:0 '],
2024-09-05 21:24:46.238 UTC [00219a0f] info [native] 140118843025152(MainThread) - [do] {('dynatrace.python.heartbeat', 1964374825940273044): (PluginFullStatus(pluginName=dynatrace.python.heartbeat, pluginVersion=1.786, state=ERROR_UNKNOWN, description=1, monitoredEntityId=0x1b42dc7f19e3c794, stacktrace=Traceback (most recent call last):
File "/var/lib/dynatrace/oneagent/agent/runtime/engine_unpacked/ruxit/plugin_state_machine.py", line 339, in _execute_next_task
File "/var/lib/dynatrace/oneagent/agent/runtime/engine_unpacked/ruxit/plugin_state_machine.py", line 666, in _query_plugin
File "/var/lib/dynatrace/oneagent/agent/runtime/engine_unpacked/ruxit/plugin_state_machine.py", line 639, in _create_plugin_run_data
------------
05 Sep 2024 11:19 PM
Hi,
That log is from extension framework 1.0 so it is not related to the error in question.
Could you please open a support case for this one?