def analyze(self, opts, cluster_stats):
        if len(cluster_stats) != 1:
            print >>sys.stderr, 'Only allowed to monitor a single node.'
            return 1

        for host, stats in cluster_stats.items():
            for k, v in stats.items():
                try:
                    self.call([opts.gmetric, '-n', k, '-v', str(int(v)), '-t', 'uint32'])
                except (__HOLE__, ValueError):
                    pass
dataset/ETHPy150Open andreisavu/zookeeper-monitoring/check_zookeeper.py/GangliaHandler.analyze