Installation guide
^ beginning of line
$ end of line
. match one char
* match zero or m ore chars
[] match one character set, e.g. '[Ff]oo'
[^] match not in set '[^A-F]oo'
+ match one or m ore of preceding chars
? match zero or one of preceding chars
| or, e.g. a|b
() groups chars, e.g., (foo|bar) or (foo)+
Warning
Do not include single quotation marks (') within the expression. Doing so causes egrep to fail
silently and the probe to time out.
Table A.30. LogAgent::Log Pattern Match set tings
Field Value
Log file* /var/log/messages
Basic regular expression*
Timeout* 45
Critical Maximum Matches
Warning Maximum Matches
Warning Minimum Matches
Critical Minimum Matches
Critical Maximum Match Rate
Warning Maximum Match Rate
Warning Minimum Match Rate
Critical Maximum Match Rate
A.6.2. LogAgent::Log Size
The LogAgent::Log Size probe monitors log file growth and collects the following metrics:
Size - T he size the log file has grown in bytes since the probe last ran.
Output Rate - T he number of bytes per minute the log file has grown since the probe last ran.
Lines - The number of lines written to the log file since the probe last ran.
Line Rate - The number of lines written per minute to the log file since the probe last ran.
Requirements - T he Red Hat Network monitoring daemon (rhnm d) must be running on the monitored
system to execute this probe. For this probe to run, the nocpulse user must be granted read access to
your log files.
Probes
107