Monitoring Splunk

modular input and ERROR AdminManagerDispatch cannot call handler

clorne
Communicator

Hello,

I am trying to install a modular input.
On a standalone Splunk, there is no problem, the setup dashboard shows up perfectly.

But on an heavy forwarder I get the following error:
+200 ERROR AdminManagerDispatch - Cannot call handler 'TA_xxx' du to missing script 'my-script.py'.

The script is present in TA/bin/my_script.py
The TA/local/restmap.conf contains the stanza:

[admin_external:TA_string]
handlertype = python
handlerfile = my_script.py
handleractions = edit, list, remove, create

If anyone has a small idea ...

Cheers
Céline

Tags (1)
0 Karma

skalliger
SplunkTrust
SplunkTrust

Sounds like a permission problem.

And usually the scripts don't require a run permission but after checking ownership of folders I would try to add +x to the script.

Skalli

0 Karma

clorne
Communicator

Hello Skalliger.
You were right. Our windows git has modified the properties of all the files and there was no x anymore.
This is solved.

Thanks a lot.
Best Regards
Céline

0 Karma

skalliger
SplunkTrust
SplunkTrust

Thanks for the feedback. Accepting an answer keeps us motivated. 😛

0 Karma
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...