nimbus.support

nas - Running an auto operator a period of time after the first occurance

Discussion created by nimbus.support on Jul 23, 2009
Latest reply on Jul 24, 2009 by keith_k
Hi,

I have a message that appears on odd occassions, but when it does it sometimes starts a flood of the same messages, but sometimes not.

I am trying to set up 2 Auto Operators, the first to copy a file (via a script), only on the first occurrence of the message, and the second to run a command if the messages are still occurring after a period of time (eg. 5 minutes). I need this to only run the command if the messages are actually flooding.

We can't do this using the message count as the time it takes to send duplicate messages out could vary so I need it to be after a period of time.

At the moment I have 1 of the 2 Auto Operators I need. It runs the script is the Message Count is less than 2. Which should work fine and only run once, but I can't work out how to write the second one to check if the messages are still appearing after the 5 minute period.

Any idea?

Thanks
Dean

Outcomes