mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +00:00
Disable redis monitoring script in Windows
This fixes the "unable to persist data" error
This commit is contained in:
parent
6f68c77967
commit
130e540667
1 changed files with 4 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue