Query regarding user define watcher in customer environment for logmon probe.
How to configure logmon Watcher for a certain string?
Here the requirement is
>path : /home/s10adm/ output_workprocesses , String to look for : combination of Wait and DIA , In case number of combination of DIA and Wait string is found to be less than 10, create an alert incident for maximum number of Dialog work processes occupied .
1. Create a profile add monitoring file from defined location.
2. Enable check on generate alarm in general tab.
3. Add watcher rule with match expression *Wait*DIA* on watcher rules tab.
4. Enable check on count matches on QOS tab under watcher rules.
5. Set operator and threshold accordingly in alarm tab under watcher rules.
6. Set variable as below
name:var, source:$1, expect:<>, value:/*/ in variables tab under watcher rules
The Logfile Monitoring (logmon) probe scans ASCII-based logfiles and automatically looks for the essential information in system and application logfiles.
Release: CNMSPP99000-8.31-Unified Infrastructure Mgmt-Server Pack-- On Prem