diff --git a/hbd b/hbd
index 1258b00..7550f22 100755
--- a/hbd
+++ b/hbd
@@ -654,12 +654,12 @@ class HttpHandler(BaseHTTPServer.BaseHTTPRequestHandler):
res.append("
Heartbeat status %s
%s (%s)
" % (VER, time.strftime("%H:%M:%S", time.localtime(now)), os.environ.get('TZ', 'CET-1CDT')))
res.append("")
- res.append("| Host | State | Hr | Dy | Wk | IP4 Addr | IP6 Addr | Last change |
\n")
+ res.append("| Host | State | Hr | Dy | Wk | IP4 Addr | IP6 Addr | Last change | Ver |
\n")
hosts_sorted = hosts.keys()
hosts_sorted.sort()
for h in hosts_sorted:
- res.append("| %-24s | %-7s | %s%-16s | %-16s | %-17s |
\n" % \
- (h, hosts[h].dispstate(), hosts[h].dispstats(), hosts[h].addr4, hosts[h].addr6, time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(hosts[h].statetime))))
+ res.append("| %-24s | %-7s | %s%-16s | %-16s | %-17s | %s |
\n" % \
+ (h, hosts[h].dispstate(), hosts[h].dispstats(), hosts[h].addr4, hosts[h].addr6, time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(hosts[h].statetime)), hosts[h].cver))
res.append("
")
res.append("Log of Events
")