Logmon alarm count customization with sampling
search cancel

Logmon alarm count customization with sampling

book

Article ID: 273746

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I have a scenario where I want to alarm if a result is found a number of times over a single check interval.

Environment

Release: Any
Component: logmon

Resolution

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: