Disable redis monitoring script in Windows

This fixes the "unable to persist data" error
This commit is contained in:
emanuele-f 2020-02-10 10:56:43 +01:00
parent 6f68c77967
commit 130e540667

View file

@ -18,6 +18,10 @@ local script = {
-- See below
hooks = {},
-- This script is disabled on windows since many of the required stats
-- (e.g. aof_last_bgrewrite_status) are not available.
windows_exclude = true,
gui = {
i18n_title = "system_stats.redis.redis_monitor",
i18n_description = "system_stats.redis.redis_monitor_description",
@ -26,13 +30,6 @@ local script = {
-- ##############################################
function script.setup()
-- This module is always enabled
return(true)
end
-- ##############################################
-- Defines an hook which is executed every minute
function script.hooks.min(params)
if params.ts_enabled then