From cb1734c65cab3ecf1bfcc169dabda9f567936eec Mon Sep 17 00:00:00 2001 From: aviau Date: Wed, 22 Apr 2015 14:06:23 -0400 Subject: [PATCH] Added address and acknowledged fields to LiveHost example Change-Id: Idf689f7b5201d3eb3c7cd152eb406c087fb4f173 --- surveil/api/datamodel/status/live_host.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/surveil/api/datamodel/status/live_host.py b/surveil/api/datamodel/status/live_host.py index 8d0fe43..c6f55d4 100644 --- a/surveil/api/datamodel/status/live_host.py +++ b/surveil/api/datamodel/status/live_host.py @@ -47,8 +47,10 @@ class LiveHost(types.Base): def sample(cls): return cls( host_name='CoolHost', + address="127.0.0.1", description='Very Nice Host', state=0, + acknowledged=1, last_check=1429220785, last_state_change=1429220785, plugin_output='PING OK - Packet loss = 0%, RTA = 0.02 ms'