my system: ESXi 6.7 i5-6500 cpu / 1.03b(DS3615xs) / DSM6.2.3-25426 /
# tail -f / var / log / messages
The problem that occurs is "cache_monitor" code.
log:
2020-07-11T18:00:16+09:00 min synostoraged: SYSTEM: Last message 'cache_monitor.c:1557' repeated 6 times, suppressed by syslog-ng on min
2020-07-11T18:00:16+09:00 min synostoraged: cache_monitor.c:1557 Can't support DS with cpu number (1)
This log repeats endlessly.
The way I tried was to add syntax.
Added to this syntax for convenience.
↓ ↓ ↓
# ESXiSmart.conf
# edit the [bracket values] with drive slots where SMART should be suppressed
# in this example /dev/sda through /dev/sdl are suppressed
# add cache_monitor.c:1557 Can't support DS with cpu number (1) drop
filter fs_allmsgs { filter(fs_badsec) or filter(fs_errcnt) or filter(fs_tmpget) or filter(fs_health) or filter(fs_sdread) or filter(fs_stests) or filter(fs_tstget) or filter(fs_cachemonitor) or filter(fs_cachemonitor2); };
filter f_smart { filter(fs_disks) and filter(fs_allmsgs); };
log { source(src); filter(f_smart); };
But it doesn't work.
How can we suppress these logs?
Question
mama
my system: ESXi 6.7 i5-6500 cpu / 1.03b(DS3615xs) / DSM6.2.3-25426 /
# tail -f / var / log / messages
The problem that occurs is "cache_monitor" code.
log:
2020-07-11T18:00:16+09:00 min synostoraged: SYSTEM: Last message 'cache_monitor.c:1557' repeated 6 times, suppressed by syslog-ng on min
2020-07-11T18:00:16+09:00 min synostoraged: cache_monitor.c:1557 Can't support DS with cpu number (1)
This log repeats endlessly.
The way I tried was to add syntax.
Added to this syntax for convenience.
↓ ↓ ↓
# ESXiSmart.conf
# edit the [bracket values] with drive slots where SMART should be suppressed
# in this example /dev/sda through /dev/sdl are suppressed
# add cache_monitor.c:1557 Can't support DS with cpu number (1) drop
filter fs_disks { match("/sd[a-l]" value("MESSAGE")); };
filter fs_badsec { match("/exc_bad_sec_ct$" value("MESSAGE")); };
filter fs_errcnt { match("disk_monitor\.c:.*Failed\ to\ check" value("MESSAGE")); };
filter fs_tmpget { match("disk/disk_temperature_get\.c:" value("MESSAGE")); };
filter fs_health { match("disk/disk_current_health_get\.c:" value("MESSAGE")); };
filter fs_sdread { match("SmartDataRead.*read\ value\ /dev/.*fail$" value("MESSAGE")); };
filter fs_stests { match("SmartSelfTestExecutionStatusGet.*read\ value\ /dev/.*fail$" value("MESSAGE")); };
filter fs_tstget { match("smartctl/smartctl_test_status_get\.c:" value("MESSAGE")); };
filter fs_cachemonitor { match("cache_monitor\.c:" value("MESSAGE")); };
filter fs_cachemonitor2 { match("cache_monitor.*(1)$" value("MESSAGE")); };
filter fs_allmsgs { filter(fs_badsec) or filter(fs_errcnt) or filter(fs_tmpget) or filter(fs_health) or filter(fs_sdread) or filter(fs_stests) or filter(fs_tstget) or filter(fs_cachemonitor) or filter(fs_cachemonitor2); };
filter f_smart { filter(fs_disks) and filter(fs_allmsgs); };
log { source(src); filter(f_smart); };
But it doesn't work.
How can we suppress these logs?
>Referenced posts
4 answers to this question
Recommended Posts