diff options
-rw-r--r-- | src/lib/Server/Metadata.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/Server/Metadata.py b/src/lib/Server/Metadata.py index 9f4c3cde0..7bfc42c8f 100644 --- a/src/lib/Server/Metadata.py +++ b/src/lib/Server/Metadata.py @@ -191,16 +191,3 @@ class Metadata: toolset = toolinfo[0] return ClientMetadata(client, groups, bundles, toolset, categories) - def ping_sweep_clients(self): - '''Find live and dead clients''' - live = {} - dead = {} - work = self.clients.keys() - while work: - client = work.pop() - rc = os.system("/bin/ping -w 5 -c 1 %s > /dev/null 2>&1" % client) - if not rc: - live[client] = time.time() - else: - dead[client] = time.time() - |