From 844ac7468b4ac728b4def8c7372ad541b40c128a Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Thu, 18 Apr 2019 13:44:04 +0200
Subject: [PATCH] Add a note about permissions regarding I/O load monitoring

Refers to #35
---
 ATxService/AutoTx.cs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ATxService/AutoTx.cs b/ATxService/AutoTx.cs
index c1752fd..81a064f 100644
--- a/ATxService/AutoTx.cs
+++ b/ATxService/AutoTx.cs
@@ -353,7 +353,9 @@ namespace ATxService
                 _phyDisk.LoadBelowLimit += OnLoadBelowLimit;
             }
             catch (Exception ex) {
-                Log.Error("Unexpected error initializing PhysicalDisk monitoring: {0}", ex.Message);
+                Log.Error("Unexpected error initializing PhysicalDisk monitoring: {0}\n" +
+                          "Please make sure the service account is a member of the local" +
+                          "group [Performance Monitor Users]!", ex.Message);
                 throw;
             }
         }
-- 
GitLab