From e6c8f9a64746c363044098309b3d49bbcbf5296c Mon Sep 17 00:00:00 2001 From: cdemi Date: Wed, 18 Jan 2023 15:59:47 +0100 Subject: [PATCH] This should fix #60 --- Services/Impl/StatsRedisMonitorService.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Services/Impl/StatsRedisMonitorService.cs b/Services/Impl/StatsRedisMonitorService.cs index 47e478c..07adf77 100644 --- a/Services/Impl/StatsRedisMonitorService.cs +++ b/Services/Impl/StatsRedisMonitorService.cs @@ -153,7 +153,15 @@ protected override PRTGMonitor InternalExecute(IConnectionMultiplexer connection ShowChart = "0" } }, - { + { + new PRTGResult + { + Channel = "Evicted Keys", + Unit = PRTGUnit.Count, + Value = clientsInfo?.SingleOrDefault(i => i.Key.Equals("evicted_keys")).Value ?? "0" + } + }, + { new PRTGResult { Channel = "Total Connections Received",