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!

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Get Inspired! We’ve Got Validation that Your Hard Work is Paying Off

We love our Splunk Community and want you to feel inspired by all your hard work! Eric Fusilero, our VP of ...

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...