status srv01

This commit is contained in:
kantorkel 2015-11-30 19:45:14 +01:00
commit b0b6f8e0cd
4 changed files with 64 additions and 9 deletions

View file

@ -13,6 +13,9 @@ def export_nodelist(now, nodedb):
node_out["status"] = dict()
node_out["status"]["online"] = node["flags"]["online"]
if "firstseen" in node:
node_out["status"]["firstcontact"] = node["firstseen"]
if "lastseen" in node:
node_out["status"]["lastcontact"] = node["lastseen"]