Logmon is a versatile probe allowing you to scan log files, web output and even issue a command and scan the output from that command. This article describes configuration options needed to scan a file and create a QoS entry based on output from that file.
Any logmon probe version
1. Create a new logmon profile. On General tab you need to select the Mode, File, Interval and the function of the profile.
This can be to Generate Quality of Service, Generate alarm or both.
The cat mode will always scan the complete log file from beginning to end-of-file mark.
The update mode will only scan the log file from the last position forward to end-of-file make.
The command mode will cause logmon to run a command and scan the output, via sysout, of that command.
2. Select a format for this profile from the Format Rules tab. A format need only to be defined if a single log entry consists of more than one line.
Jave exceptions are a good example of when formats are required.
4. Configure a QoS entry for the data you have collected. This is done in two locations. You first need to define the QoS under the setup tab.
In this case the variable var will be used as the value. The QoS will be QOS_LOGMON_QOS_TICKETS and the target will be mn56c.
Here is what that entry looks like in Service Level Manager: