Changeset 581
- Timestamp:
- Sep 8, 2024, 1:10:09 PM (2 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r580 r581 12 12 dnl start 13 13 dnl 14 AM_INIT_AUTOMAKE(samhain, 4.5. 0)14 AM_INIT_AUTOMAKE(samhain, 4.5.1) 15 15 AC_DEFINE([SAMHAIN], 1, [Application is samhain]) 16 16 AC_CANONICAL_HOST -
trunk/docs/Changelog
r580 r581 1 4.5.1 (08-09-2024): 2 * fix for regression in SHELL option for log file monitoring 3 (issue reported by ssha) 4 1 5 4.5.0 (31-10-2023): 2 6 * fix for reading file attributes on Linux file systems -
trunk/src/sh_log_check.c
r541 r581 852 852 entry = SH_ALLOC(sizeof(struct task_entry)); 853 853 854 status = sh_ext_popen_init (&(entry->task), logfile->filename, logfile->filename, NULL);854 status = sh_ext_popen_init (&(entry->task), logfile->filename, NULL, NULL); 855 855 if (0 == status) 856 856 { -
trunk/test/testrc_1
r19 r581 89 89 # dir=1/home/rainer 90 90 91 #[SuidCheck]92 #SuidCheckActive=T 91 [SuidCheck] 92 SuidCheckActive=false 93 93 #SuidCheckExclude=/home 94 95 [ProcessCheck] 96 # 97 # Activate (default is on) 98 # 99 ProcessCheckActive = no 100 101 [PortCheck] 102 # 103 # Activate (default is on) 104 # 105 PortCheckActive = no 106 107 108 [Logmon] 109 110 # 111 # Switch on the module 112 # 113 LogmonActive = yes 114 115 # Check every second 116 # 117 LogmonInterval = 1 118 119 # Strip PIDs from syslog messages 120 # 121 Logmonhidepid = true 122 123 # Define a queue with severity 'crit'. 124 # This is a 'report' queue, hence 'interval' (10) 125 # will be ignored. 126 # 127 LogmonQueue = q1:10:report:crit 128 129 # Monitor disks to check for full /dev/sda1 130 # 131 LogmonWatch = 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 # 136 LogmonRule = q1:/dev/nvme1n1p4\s+[0-9GM.]+\s+[0-9GM.]+\s+[0-9GM.]+\s+(?:8|9).%.* 137 138 LogmonDeadtime = 120 139 LogmonRule = trash:.* 140 94 141 95 142 [EventSeverity]
Note:
See TracChangeset
for help on using the changeset viewer.