I have a scenario where I want to alarm if a result is found a number of times over a single check interval.
Release: Any
Component: logmon
I am able to make this work under the following scenario:
-create a batch file that will run your command 3 times and inside that batch separate the commands by using a timeout or sleep
This is what I am using for my example:
dir /a:-d /s /b "C:\tmp" | find /c ":\"
timeout 45
dir /a:-d /s /b "C:\tmp" | find /c ":\"
timeout 45
dir /a:-d /s /b "C:\tmp" | find /c ":\"
In my profile I expect that I have a file count of less than 5.
This is the example of the configuration I have: