makanakoeln / check_mk

check_mk related scripts and checks
GNU General Public License v3.0
4 stars 2 forks source link

svcproblems_ack_by_author does not match sidebar LQL query #4

Closed gurubert closed 6 years ago

gurubert commented 6 years ago

Hi, the filter in the view svcproblems_ack_by_author does not match the livestatus query in the sidebar as it does not match on UNKNOWNs. This patch fixes it:

--- svcproblems_ack_by_author.py.orig   2017-10-25 17:09:44.707834075 +0200
+++ svcproblems_ack_by_author.py    2017-10-25 17:09:37.523787824 +0200
@@ -10,12 +10,12 @@
                                               'svchardstate': {'hdst0': '',
                                                                'hdst1': 'on',
                                                                'hdst2': 'on',
-                                                               'hdst3': '',
+                                                               'hdst3': 'on',
                                                                'hdstp': 'on'},
                                               'svcstate': {'st0': '',
                                                            'st1': 'on',
                                                            'st2': 'on',
-                                                           'st3': '',
+                                                           'st3': 'on',
                                                            'stp': 'on'}},
                                   'datasource': 'comments',
                                   'description': u'',
makanakoeln commented 6 years ago

hi, fixed that. Has to match the lq thanks!