Table of Contents

Sybase error logs

Purpose

Errors logs is useful to detect problems and investigate their causes. This monitor will watch error logs and can report any specific or repetitive message.
You will be notified as soon as a problem starts happening.

Configuration hints

Surveillance table:

Minimum severity:

Log message:

Max messages:

Mode:

Period:

Rules order:

Surveillance table

ParameterDescription
ActiveIf checked, the rule is enabled and will be processed
ModeAlerting modes, COUNT will count the number of logs matching the filter, FORWARD will count the occurrence of each individual log message.
Minimum log severityThe minimum severity of the log to take into account
Log messageA text pattern to match the log message, can use regular expressions, white/black lists
Max messagesThe threshold for the maximum number of messages matching the filters. Use multi-threshold syntax.
Period (Min)The number of minutes to look for logs in the past. If set to 0, will look for logs occurred since the last check
Auto clearIf set, clears the alarms that are no longer generated.
Alarm tagThis field allows to add custom text within the alarm message. %MSG% variable will contain the actual generated message and can be used such as: “my_prefix %MSG% my_suffix”. By default, tag will be used as prefix.
AlarmDefines if the alerting is active for this rule.
MetricDefines if the metric generation is active for this rule.
ReportIf checked, this rule will be used for showing threshold and severity in the daily report

Examples

ActiveModeMinimum log severityLog messageMax messagesPeriod (Min)Auto clearAlarm tagAlarmMetricReport
trueCOUNT16*G2W:5060true truetruetrue

Effect : A WARNING alarm is sent if there are 50 or more log messages with a severity equal or greater than 16, in the last 60 minutes