Added tracker.log(), tracking host_get_json

This commit is contained in:
Alfredo Cardigliano 2018-12-05 01:56:15 +01:00
parent 9f756fa23f
commit a087fb3bc9
5 changed files with 43 additions and 29 deletions

View file

@ -4,6 +4,8 @@
local dirs = ntop.getDirs()
local tracker = require "tracker"
local os_utils = {}
local NTOPCTL_CMD = "sudo ntopctl"
local NTOPNG_CONFIG_TOOL = "/usr/bin/ntopng-utils-manage-config"
@ -167,7 +169,6 @@ end
-- TRACKER HOOK
local tracker = require "tracker"
tracker.track(os_utils, 'enableService')
tracker.track(os_utils, 'disableService')