monfront - add missing column to unhandled checks
The unhandled checks didn't contain the mapping id, which caused an error at scan time.
This commit is contained in:
parent
564ec5c2a3
commit
feee448af6
|
@ -298,7 +298,7 @@ var (
|
|||
join nodes n on c.node_id = n.id
|
||||
join commands co on c.command_id = co.id
|
||||
order by n.name, co.name;`
|
||||
SQLShowUnhandledChecks = `select c.id, n.name, co.name, ac.states[1] as state, ac.notify,
|
||||
SQLShowUnhandledChecks = `select c.id, n.name, co.name, ac.mapping_id, ac.states[1] as state, ac.notify,
|
||||
ac.enabled, ac.notice, ac.next_time, ac.msg
|
||||
from active_checks ac
|
||||
join checks c on ac.check_id = c.id
|
||||
|
|
Loading…
Reference in New Issue