I have a per script that I have bundled as an asset per the doc and uploaded to one of my internal repositories. However, when I execute the perl script as a part of the Check, it says
sh: 1 script not found
Per this Jef Practice: Preparing to use assets , I also printed the PATH and LD_LIBRARY_PATH and the asset path "/var/cache/sensu/sensu-agent//asset/bin/ on the agent is not present/getting appended to both of them.
Do these have to be manually set in the path for the respective assets ?
I also see this forum Script for setting path for plugin testing and I believe this is for testing and not for the actual flow.