Sorry coming back for more help. Hope you don’t mind, but my python knowledge just isn’t up to trying to troubleshoot these issues. This monitor script below, seemed to be working for us before, but for some reason now it generates errors.
The errors we see are the following, please be aware that the script it running on windows 10 and 11 machines. The first error seems to be occurring on windows 11 machines and the second on windows 10 from time to time. I cut and pasted the script directly from the site into a new custom monitor. Strange thing in that it did seem to run a few months ago, but now doesn’t at all.
Would be grateful for any help on this, as it’s a script we’d really like to have working 100%.
Custom Script Monitor : Standard Output: - Error Output: Traceback (most recent call last):
- File “”, line 45, in *
- File “”, line 43, in programsinstalled*
- File “”, line 28, in collectprograms*
UnboundLocalError: local variable ‘oK’ referenced before assignment
Custom Script Monitor : Standard Output: - Error Output: File “”, line 116
print “Installed softwares are :”
IndentationError: unindent does not match any outer indentation level