We need to trap certain hosts CPU usage alarms with a LUA pre-processing script. If a particular process is running then we can safely ignore the alarm, otherwise generate it.
The issue seems to be where the script tries to create thepds queue. The nas log reports the following:
nas: PREPROCESSOR ERROR: scripts/scriptname:50: attempt to index global 'pds' (a nil value)
Line 50 of the script is:
local args = pds.create()
The pre-processing script is not exactly complicated! But this has thown me somewhat.
Any suggestions greatly appreciated!