diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2018-12-11 13:33:06 +0100 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2018-12-11 13:33:06 +0100 |
commit | feee448af6685e7d368da19b5a879efb6a291744 (patch) | |
tree | 953c2ea0457307a2fd747f69930745a13482bcc4 | |
parent | 564ec5c2a3551d4b5613f638dc9122fecc7125d0 (diff) |
monfront - add missing column to unhandled checks
The unhandled checks didn't contain the mapping id, which caused an
error at scan time.
-rw-r--r-- | cmd/monfront/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/monfront/main.go b/cmd/monfront/main.go index 2178308..e128ed6 100644 --- a/cmd/monfront/main.go +++ b/cmd/monfront/main.go @@ -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 |