mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
add snmp3 username
This commit is contained in:
parent
d41201bb18
commit
efe75bd55a
3 changed files with 6 additions and 4 deletions
|
|
@ -566,7 +566,7 @@ local function where_tags(tags)
|
|||
return " WHERE"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--##############################################
|
||||
|
||||
local function getTotalSerieQuery(schema, query_schema, raw_step, tstart, tend, tags, time_step, data_type, label)
|
||||
|
|
@ -1530,7 +1530,7 @@ local function getInfluxdbVersion(url, username, password)
|
|||
|
||||
local content = res.CONTENT or ""
|
||||
-- case-insensitive match as HAProxy transforms headers to lowercase (see #3964)
|
||||
return string.match(content:lower(), "\nx%-influxdb%-version: ([%d|%.]+)")
|
||||
return string.match(content:lower(), "\nx%-influxdb%-version: v([%d|%.]+)")
|
||||
end
|
||||
|
||||
function driver:getInfluxdbVersion()
|
||||
|
|
@ -1560,7 +1560,7 @@ end
|
|||
|
||||
function driver:getMemoryUsage()
|
||||
--[[
|
||||
This function attempts to match the memory used by the process, memory which is
|
||||
This function attempts to match the memory used by the process, memory which is
|
||||
the top/htop RSS (Resident Stack Size) which is what it actually matters.
|
||||
|
||||
InfluxDB docs leak explanations of how to interpred memory-related numbers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue