mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Cleanup nagios code
This commit is contained in:
parent
f7675eb94e
commit
bde41ff4b7
19 changed files with 3 additions and 255 deletions
|
|
@ -123,10 +123,7 @@ end
|
|||
function notifyNtopng(key)
|
||||
if key == nil then return end
|
||||
-- notify runtime ntopng configuration changes
|
||||
if string.starts(key, 'nagios') then
|
||||
if verbose then io.write('notifying ntopng upon nagios pref change\n') end
|
||||
ntop.reloadNagiosConfig()
|
||||
elseif string.starts(key, 'toggle_logging_level') then
|
||||
if string.starts(key, 'toggle_logging_level') then
|
||||
if verbose then io.write('notifying ntopng upon logging level pref change\n') end
|
||||
ntop.setLoggingLevel(value)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue