All, I’m having weird issue with action script that I would like to see if somebody has any insights/ideas.
Background: Working on project that will handle some Agent Healing stuff, by checking agent is running and if not try to remediate, perform various checks on the agent see if it’s running, reporting to its backend etc. I’ve started with individual action script for each agent (6 in total), and they would have to run every 15’ and report info to some BigFix Settings/Properties that info would be imported in some PowerBI dashboard for reporting purpose. This is running in our environment (140,000 devices) across different OS’s such as Windows / MAC / Linux (various flavours).
We have been running this for several months and now to simplify this I was planning to merge the 6 individual actions script into 1 script (Taking out comments and blank lines total script is about 300 lines) and that would run every 15’. When I target this to initial test group (1000 devices) all was good and working fine, now I targeted this to my whole environment and strangely enough I got around 1,200 devices reporting the action as “”, I’ve captured some logs and getting message about “Relevance Substitution Error”!!! If I retarget that same device with the same script, it works fine !!!, also checking same hosts when it was targeted with individual scripts it was also working fine.
the idea would be to only maintain 1 script (including plenty of comments to also simplify any updates required to specific sections), the errors are happening across different OS’s not specific to 1 OS, and the other issue is that because script returns it’s not retrying so net result I’m not getting info from those agents, for time being I’ve re-issued the initial scripts for each agent individually but was hoping if somebody has any ideas suggestions to resolve this problem
I’m running 10.0.7.x environment, OS flavours WIndows 10; Windows Server 2012/2016/2019; Linux (RedHat; Ubuntu; CentOS; Suse)
Thx.