fix: restore host link from Dashboard to Host Overview
live.html used host.raw_name which stateinfo() never included — the hash was always empty. Use host.name (the raw hostname stateinfo() does include). Also exclude plugin_timers from stateinfo() to prevent asyncio handles from breaking jsons(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -367,7 +367,7 @@ class Host:
|
||||
def stateinfo(self):
|
||||
ddict = {}
|
||||
for d in self.__dict__:
|
||||
if d in ["alert_states", "plugin_data"]:
|
||||
if d in ["alert_states", "plugin_data", "plugin_timers"]:
|
||||
continue
|
||||
if d == "connections":
|
||||
cl = []
|
||||
|
||||
Reference in New Issue
Block a user