diff --git a/RAIDAlert.sln.DotSettings b/RAIDAlert.sln.DotSettings index fed8894..27caf3c 100644 --- a/RAIDAlert.sln.DotSettings +++ b/RAIDAlert.sln.DotSettings @@ -1,2 +1,3 @@  + True True \ No newline at end of file diff --git a/Watchdog.cs b/Watchdog.cs index aa18b51..7b020b8 100644 --- a/Watchdog.cs +++ b/Watchdog.cs @@ -39,6 +39,7 @@ public partial class Watchdog : BackgroundService while (!stoppingToken.IsCancellationRequested) { + // Run "hpssacli" to query disk status BufferedCommandResult hpSsaCliResult = await Cli.Wrap(hpSsaCli) .WithArguments(new[] { "controller", "slot=1", "physicaldrive", "all", "show" }) .WithWorkingDirectory(workingDirectory) @@ -57,7 +58,8 @@ public partial class Watchdog : BackgroundService if (!allHealthy) { _logger.LogError("One or more disks reported faulty status"); - + + // Make some noise! await Cli.Wrap(pcBeeper) .WithArguments(new[] { "-f", "3000", "-d", "500" }) .WithWorkingDirectory(workingDirectory)