--- /usr/lib/python2.6/dist-packages/zephir/monitor/agents/ldapscribe.py 2014-10-01 12:54:20.279141394 +0200 +++ ldapscribe.py 2014-10-01 12:55:20.429195442 +0200 @@ -165,12 +165,15 @@ # ------------------------------------------------------------------ # ## les stations ## + nb_stations = self._requete(conn, "(&(objectclass=posixAccount)(description=Computer))", 'cn') statistics4 = [] statistics4.append ( { 'name' : color('Total'), - 'nb' : color(self._requete(conn, "(&(objectclass=posixAccount)(description=Computer))", 'cn')) + 'nb':color(nb_stations) }) + self.measure_data['nb_stations']= nb_stations + if self.fail >= 2 : self.status = status.Warn(self.lastwarn)