Improved severity column, still subject to changes
This commit is contained in:
parent
0f0e4883d1
commit
9cc3bb75ca
|
@ -276,14 +276,18 @@ class StatusQuery extends IdoQuery
|
||||||
ELSE 256
|
ELSE 256
|
||||||
END
|
END
|
||||||
+
|
+
|
||||||
CASE WHEN ss.problem_has_been_acknowledged = 1
|
CASE WHEN hs.current_state > 0
|
||||||
THEN 2
|
THEN 1024
|
||||||
ELSE
|
ELSE
|
||||||
CASE WHEN ss.scheduled_downtime_depth > 0
|
CASE WHEN ss.problem_has_been_acknowledged = 1
|
||||||
THEN 1
|
THEN 512
|
||||||
ELSE 4
|
ELSE
|
||||||
END
|
CASE WHEN ss.scheduled_downtime_depth > 0
|
||||||
END
|
THEN 256
|
||||||
|
ELSE 2048
|
||||||
|
END
|
||||||
|
END
|
||||||
|
END
|
||||||
END'
|
END'
|
||||||
),
|
),
|
||||||
'serviceproblemsummary' => array(
|
'serviceproblemsummary' => array(
|
||||||
|
|
Loading…
Reference in New Issue