Module: check_mk
Branch: master
Commit: 6703c36ab91d3581f64df555d03bfb278f16cb51
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6703c36ab91d35…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Dec 15 17:11:57 2011 +0100
printer_alerts: added further state codes (thanks to Matthew Stew)
---
ChangeLog | 1 +
checks/printer_alerts | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a26808f..3a514bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -89,6 +89,7 @@
* heartbeat_crm: apply patches from Václav Ovsík, so that the check
should work on Debian now.
* fsc_*: added missing scan functions
+ * printer_alerts: added further state codes (thanks to Matthew Stew)
1.1.12p5:
Multisite:
diff --git a/checks/printer_alerts b/checks/printer_alerts
index 0d31e78..9c86234 100644
--- a/checks/printer_alerts
+++ b/checks/printer_alerts
@@ -62,11 +62,11 @@ printer_alerts_group_map = {
printer_alerts_state_map = {
2: [ 8, 1101, 1102, 1112, 1114, 1115 ],
- 1: [ 1104 ],
- 0: [ 4, 6, 7, 19, 20, 23, 24, 25, 27, 35, 36, 37, 38,
- 502, 503, 504, 505, 506, 507, 802, 803, 804, 805,
- 806, 807, 808, 809, 810, 1001, 1002, 1005, 1106,
- 1107, 1108, 1111, 1113, 1302, 1304, 1501, 1502,
+ 1: [ 2, 9, 12, 13, 801, 1104 ],
+ 0: [ 1, 4, 6, 7, 19, 20, 22, 23, 24, 25, 27, 35, 36, 37, 38,
+ 502, 503, 504, 505, 506, 507, 802, 803, 804, 805,
+ 806, 807, 808, 809, 810, 1001, 1002, 1005, 1106,
+ 1107, 1108, 1111, 1113, 1302, 1304, 1501, 1502,
1503, 1504, 1505, 1506, 1509 ],
}