Made the match for the partition 'swap' more flexible.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 11 months ago
parent e4fc831284
commit c5e72797fd
  1. 2
      scancore-agents/scan-filesystems/scan-filesystems

@ -487,7 +487,7 @@ INSERT INTO
{ {
# First time we've fallen under 5% # First time we've fallen under 5%
my $alert_level = "warning"; my $alert_level = "warning";
if ($new_mount_point eq "<swap>") if ($new_mount_point =~ /swap/)
{ {
$alert_level = "notice"; $alert_level = "notice";
} }

Loading…
Cancel
Save