zabbix_export: version: '5.4' date: '2021-11-21T21:26:59Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 9a0f2e573fd6461f802a2207138444c5 template: OKI name: OKI description: | ## Overview A template to check supplies on OKIDATA printers (you'll need the OKIDATA MIB). It provides items and triggers for toner, drum, fuser and belt levels as well as a simple paper count. I've been using it with an OKI C5950 and an OKI C610 printer. You'll need to add a 'zabbix' snmp read community on your printer (from the Admin webpage choose Network->SNMP->Settings->Step2) or change the community to 'public' within the template. Triggers will be activated at 11% for toner and 10% for drums, belt and fuser unit, which should be ample time to restack on supplies unless you're really printing loads of pages. EDIT: 2017-06-01 Updated this for adjusted trigger levels on toner and drums as the chosen ones were too low. ## Author Korbinian Grote groups: - name: Templates items: - uuid: 061e5f3f825241f2a472ae47e0e48f9a name: 'Belt level %' type: CALCULATED key: BeltLevelPercCalc delay: '300' value_type: FLOAT params: '(last(//usageBeltMaxLevel.1)-last(//usageBeltCurrentLevel.1) )/ last(//usageBeltMaxLevel.1) * 100' tags: - tag: Application value: Supply triggers: - uuid: fe7cd8dfe5824207b208144270f9b887 expression: last(/OKI/BeltLevelPercCalc)<10 name: 'Order belt for {HOST.NAME}' priority: WARNING - uuid: b445bc6348b24e44a1e206f82e951a8a name: 'Black Drum level %' type: CALCULATED key: blackDrumLevelPercCalc delay: '300' value_type: FLOAT params: '(last(//usageDrumMaxLevel.1)-last(//usageDrumCurrentLevel.1) )/ last(//usageDrumMaxLevel.1) * 100' tags: - tag: Application value: Supply triggers: - uuid: 445431736a784d77b51058ad727dd101 expression: last(/OKI/blackDrumLevelPercCalc)<10 name: 'Order black image drum for {HOST.NAME}' priority: WARNING - uuid: f25bb51b96c949d78606f887becfff83 name: 'Cyan Drum level %' type: CALCULATED key: cyanDrumLevelPercCalc delay: '300' value_type: FLOAT params: '(last(//usageDrumMaxLevel.2)-last(//usageDrumCurrentLevel.2) )/ last(//usageDrumMaxLevel.2) * 100' tags: - tag: Application value: Supply triggers: - uuid: a830ba1cd8264233a02f4cad91d66ff5 expression: last(/OKI/cyanDrumLevelPercCalc)<10 name: 'Order cyan image drum for {HOST.NAME}' priority: WARNING - uuid: df2e9b0bf5454d7aa466ad06bd17239e name: 'Fuser level %' type: CALCULATED key: FuserLevelPercCalc delay: '300' value_type: FLOAT params: '(last(//usageFuserMaxLevel.1)-last(//usageFuserCurrentLevel.1) )/ last(//usageFuserMaxLevel.1) * 100' tags: - tag: Application value: Supply triggers: - uuid: 0dbe85123a8c434193300f50d504612a expression: last(/OKI/FuserLevelPercCalc)<10 name: 'Order fuser for {HOST.NAME}' priority: WARNING - uuid: ad639314fbce4cd2b5a92c16b52bc5a1 name: 'Magenta Drum level %' type: CALCULATED key: magentaDrumLevelPercCalc delay: '300' value_type: FLOAT params: '(last(//usageDrumMaxLevel.3)-last(//usageDrumCurrentLevel.3) )/ last(//usageDrumMaxLevel.3) * 100' tags: - tag: Application value: Supply triggers: - uuid: 098f5403802f4378994076aedbbc83f7 expression: last(/OKI/magentaDrumLevelPercCalc)<10 name: 'Order magenta image drum for {HOST.NAME}' priority: WARNING - uuid: 7d8473f3312d4453a9efe440f8afc55a name: 'Belt count' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.5.1.1.3.1 key: usageBeltCurrentLevel.1 delay: '300' tags: - tag: Application value: Supply - uuid: 14fb72249fc945908c004dcef8d910fd name: 'Belt max level' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.5.1.1.4.1 key: usageBeltMaxLevel.1 delay: '300' tags: - tag: Application value: Supply - uuid: 89b7582e2e614ebb961fcdf30292ee1f name: 'Black Drum count' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.4.1.1.3.1 key: usageDrumCurrentLevel.1 delay: '300' tags: - tag: Application value: Supply - uuid: 7b78027587644a82974b1837d497a9ac name: 'Cyan Drum count' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.4.1.1.3.2 key: usageDrumCurrentLevel.2 delay: '300' tags: - tag: Application value: Supply - uuid: 244246899571454cbbae4068ff88d3e5 name: 'Magenta Drum count' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.4.1.1.3.3 key: usageDrumCurrentLevel.3 delay: '300' tags: - tag: Application value: Supply - uuid: b8b84faa19354ffb9a1d59a3edb488e4 name: 'Yellow Drum count' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.4.1.1.3.4 key: usageDrumCurrentLevel.4 delay: '300' tags: - tag: Application value: Supply - uuid: 64a14d05933a4be59d48f79f11b338f6 name: 'Black Drum max' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.4.1.1.4.1 key: usageDrumMaxLevel.1 delay: '300' tags: - tag: Application value: Supply - uuid: f7e46aef75344214a25e3f820b0a6a4b name: 'Cyan Drum max' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.4.1.1.4.2 key: usageDrumMaxLevel.2 delay: '300' tags: - tag: Application value: Supply - uuid: c5282ddc64cd498d874c779809781868 name: 'Magenta Drum max' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.4.1.1.4.3 key: usageDrumMaxLevel.3 delay: '300' tags: - tag: Application value: Supply - uuid: 88b1f7a3fc2a4f00b98b9c998df81c50 name: 'Yellow Drum max' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.4.1.1.4.4 key: usageDrumMaxLevel.4 delay: '300' tags: - tag: Application value: Supply - uuid: 2da26e0c477048adb2bedb42ca494b45 name: 'Fuser count' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.6.1.1.3.1 key: usageFuserCurrentLevel.1 delay: '300' tags: - tag: Application value: Supply - uuid: ce80ffcb6d914e3cbb59d6610b1dba03 name: 'Fuser max level' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.6.1.1.4.1 key: usageFuserMaxLevel.1 delay: '300' tags: - tag: Application value: Supply - uuid: a769c2c573564a1f892485f886b06dfe name: 'Total pages printed' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.1.1.1.3.1 key: usagePrinterUnitCounter.1 delay: '300' tags: - tag: Application value: Counters - uuid: fe34caf7eede4229ba849cd065266d27 name: 'Black Toner Level %' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.3.1.1.3.1 key: usageTonerCurrentLevel.1 delay: '300' tags: - tag: Application value: Supply triggers: - uuid: a86146f42dea47c08e53ad8671584706 expression: last(/OKI/usageTonerCurrentLevel.1)<11 name: 'Order black toner for {HOST.NAME}' priority: WARNING - uuid: 498ab6346dba4c109757ed1d194c99e1 name: 'Cyan Toner Level %' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.3.1.1.3.2 key: usageTonerCurrentLevel.2 delay: '300' tags: - tag: Application value: Supply triggers: - uuid: f1d6aed3aa1e4e85819a6fe74e3e6b78 expression: last(/OKI/usageTonerCurrentLevel.2)<11 name: 'Order cyan toner for {HOST.NAME}' priority: WARNING - uuid: 2d1602e99a264af584af51de3b3f6bf8 name: 'Magenta Toner Level %' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.3.1.1.3.3 key: usageTonerCurrentLevel.3 delay: '300' tags: - tag: Application value: Supply triggers: - uuid: b95f43d1fee9490e97c7c7a9ace9bd3c expression: last(/OKI/usageTonerCurrentLevel.3)<11 name: 'Order magenta toner for {HOST.NAME}' priority: WARNING - uuid: 07163d566da14eae899915b10260e1ba name: 'Yellow Toner Level %' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.2001.1.1.1.1.100.3.1.1.3.4 key: usageTonerCurrentLevel.4 delay: '300' tags: - tag: Application value: Supply triggers: - uuid: ec92ee276a624d2295f05b7027f6412e expression: last(/OKI/usageTonerCurrentLevel.4)<11 name: 'Order yellow toner for {HOST.NAME}' priority: WARNING - uuid: 2e1894f576b24e14b618a7f0c11bd6e2 name: 'Yellow Drum level %' type: CALCULATED key: yellowDrumLevelPercCalc delay: '300' value_type: FLOAT params: '(last(//usageDrumMaxLevel.4)-last(//usageDrumCurrentLevel.4) )/ last(//usageDrumMaxLevel.4) * 100' tags: - tag: Application value: Supply triggers: - uuid: 9480be1f924a407aa5d7da88740bd122 expression: last(/OKI/yellowDrumLevelPercCalc)<10 name: 'Order yellow image drum for {HOST.NAME}' priority: WARNING