AnsweredAssumed Answered

LUA Pre-Processing Rules failing to pds.create

Question asked by paul.thomas.1 on Jul 14, 2014
Latest reply on Jul 18, 2014 by paul.thomas.1

Hi all,


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!