[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

David GUENAULT dguenault at monitoring-fr.org
Tue Feb 28 22:10:40 UTC 2012


The following commit has been merged in the debian/master branch:
commit 1320b5cd0c3cf948981bf045805fdfaf201fe037
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date:   Thu Dec 29 15:35:46 2011 +0100

    FIX #343 incorect field separator in split

diff --git a/shinken/modules/livestatus_broker/livestatus_wait_query.py b/shinken/modules/livestatus_broker/livestatus_wait_query.py
index 5051990..2df834a 100644
--- a/shinken/modules/livestatus_broker/livestatus_wait_query.py
+++ b/shinken/modules/livestatus_broker/livestatus_wait_query.py
@@ -68,7 +68,7 @@ class LiveStatusWaitQuery(LiveStatusQuery):
                 # It's like Filter: name = %s
                 # Only for services it's host<blank>servicedesc
                 if self.table == 'services':
-                    host_name, service_description = object.split(' ', 1)
+                    host_name, service_description = object.split(';', 1)
                     self.filtercolumns.append('host_name')
                     self.prefiltercolumns.append('host_name')
                     self.filter_stack.put(self.make_filter('=', 'host_name', host_name))

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list