mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
update response in service disabled case. (#7141)
This commit is contained in:
parent
bc172e46d5
commit
645acf68d5
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ if influxdb.getInfluxdbVersion then
|
|||
info.points_exported = influxdb:get_exported_points()
|
||||
info.exports = influxdb:get_exports()
|
||||
info.health = influxdb:get_health()
|
||||
info.status = "UP"
|
||||
else
|
||||
info.status = "DISABLED"
|
||||
end
|
||||
|
||||
|
||||
rest_utils.answer(rest_utils.consts.success.ok, info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue