From c038f0ceca6779fa429d6f74f0c794498a826c7e Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 9 Nov 2012 15:00:17 +0100 Subject: pingdata.xml: add new file for dynamic ping data of the clients bcfg2-ping-sweep saved the pingdata into clients.xml. This is problematic if the repository is tracked by a vcs. Now the dynamic data is saved into pingdata.xml and the DBStat plugin reads the data from there. So the pingdata.xml could be ignored by the vcs. --- src/lib/Server/Plugins/DBStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Server/Plugins/DBStats.py') diff --git a/src/lib/Server/Plugins/DBStats.py b/src/lib/Server/Plugins/DBStats.py index 56420f646..07798b09e 100644 --- a/src/lib/Server/Plugins/DBStats.py +++ b/src/lib/Server/Plugins/DBStats.py @@ -54,7 +54,7 @@ class DBStats(Bcfg2.Server.Plugin.Plugin, start = time.time() for i in [1, 2, 3]: try: - Bcfg2.Server.Reports.importscript.load_stats(self.core.metadata.clients_xml.xdata, + Bcfg2.Server.Reports.importscript.load_stats(self.core.metadata.pingdata_xml.xdata, container, self.core.encoding, 0, -- cgit v1.2.3-1-g7c22