Changeset 581 for trunk/test/testrc_1


Ignore:
Timestamp:
Sep 8, 2024, 1:10:09 PM (4 months ago)
Author:
katerina
Message:

Fix for ticket #469 (regression in log monitoring code).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testrc_1

    r19 r581  
    8989# dir=1/home/rainer
    9090
    91 #[SuidCheck]
    92 #SuidCheckActive=T
     91[SuidCheck]
     92SuidCheckActive=false
    9393#SuidCheckExclude=/home
     94
     95[ProcessCheck]
     96#
     97# Activate (default is on)
     98#
     99ProcessCheckActive = no
     100         
     101[PortCheck]
     102#
     103# Activate (default is on)
     104#
     105PortCheckActive = no
     106
     107
     108[Logmon]
     109         
     110#
     111# Switch on the module
     112#
     113LogmonActive = yes
     114
     115# Check every second
     116#
     117LogmonInterval = 1
     118
     119# Strip PIDs from syslog messages
     120#
     121Logmonhidepid = true
     122
     123# Define a queue with severity 'crit'.
     124# This is a 'report' queue, hence 'interval' (10)
     125# will be ignored.
     126#
     127LogmonQueue = q1:10:report:crit
     128
     129# Monitor disks to check for full /dev/sda1
     130#
     131LogmonWatch = SHELL:df -h
     132
     133# Warn about disk /dev/sda1 nearly full (80% or more. Use a
     134# non-capturing subexpression [the (?:8|9)] for the percentage full.
     135#
     136LogmonRule = q1:/dev/nvme1n1p4\s+[0-9GM.]+\s+[0-9GM.]+\s+[0-9GM.]+\s+(?:8|9).%.*
     137
     138LogmonDeadtime = 120
     139LogmonRule = trash:.*
     140
    94141
    95142[EventSeverity]
Note: See TracChangeset for help on using the changeset viewer.