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
Motivator

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
Motivator

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

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...