pvl/verkko/hosts.py
changeset 17 29f0cf9220e0
parent 16 51509b5ce1c0
child 19 4e2e26f4d058
--- a/pvl/verkko/hosts.py	Thu Oct 18 23:06:23 2012 +0300
+++ b/pvl/verkko/hosts.py	Fri Oct 19 02:39:57 2012 +0300
@@ -129,6 +129,7 @@
         'name':     Host.name,
         'seen':     Host.last_seen,
         'state':    Host.state,
+        'count':    Host.count,
     }
 
     HOST_SORT = Host.last_seen.desc()
@@ -268,6 +269,7 @@
                 ('First seen',  host.first_seen),
                 ('Last seen',   host.last_seen),
                 ('Last state',  host.render_state()),
+                ('Total messages',      host.count),
         )
 
         return (