mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fix SNMP alerts in case of bad port number provided by the check
This commit is contained in:
parent
69e7bcd2e4
commit
488f80f476
9 changed files with 134 additions and 17 deletions
|
|
@ -728,7 +728,7 @@ function driver:listSeries(schema, tags_filter, wildcard_tags, start_time)
|
|||
local full_path = driver.schema_get_full_path(schema, tags_filter)
|
||||
local last_update = ntop.rrd_lastupdate(full_path)
|
||||
|
||||
if last_update ~= nil and last_update >= start_time then
|
||||
if last_update ~= nil and last_update >= start_time and (end_time == nil or last_update <= end_time ) then
|
||||
return {tags_filter}
|
||||
else
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue