AnsweredAssumed Answered

Excluding alerts in a LUA script

Question asked by pzafonte on Mar 11, 2013
Latest reply on Mar 15, 2013 by 1_keithk

Hi. I am looking to expand on what the cdm probe does for monitoring. I want it such that I will only get alarms for filesystems that have less than 10% diskspace and less than 2 gigabytes. I want to exlude everything that does not meet that criteria. I have no problem with the logic or doing the callbacks, but when I am writing a script to run in the pre-processor, how do I get/reference the current alarm object in LUA. 

Using the alarm object reference should enable me to do the following

1) Get the name of the server to feed into a callback to get the free diskspace and disk used percentag.

2) Exclude the alarm.

Outcomes