zabbix_export: version: '5.4' date: '2021-11-21T21:47:05Z' groups: - uuid: 60f1dce8720d41eab748470cd7d4746e name: Printers templates: - uuid: f714011299a24204be16cd694585be97 template: 'SNMP - Lexmark MONO' name: 'SNMP - Lexmark MONO' description: | ## Overview Template customizado para monitorar os itens: 01 Device model **Maintenance Kit level (Photo Condutor)** Maintenance Kit capacity Printer Status Page Counter Toner print level Toner print capacity 05 Device Serial Number **KIT Manutenção** **Kit Rolo** Os itens em negrito foram acrescentados e já estão com as triggers criada para disparar abaixo de 5% **Criado para monitorar o modelo Lexmark MX711dhe. Em tempo, informo que para monitorar outro modelo de impressora lexmark basta alterar nos itens o SNMP OID.** Para buscar OID inserir o comando no terminal # snmpwalk -v2c -c public + ip (o comando retornara todas OID . ) Template atualizado pois durante a substituição do fotocondutor, a impressora reporta "0" no status do toner para o Zabbix, o que gerava um falso positivo. Para corrigir esse erro, fizemos uma alteraçao na Trigger para desconsiderar o status "0" do toner, reportando toner esgotado quando estiver em 1%, e "Finalizando" entre 1 e 5%, podendo ser alterado conforme sua necessidade. ## Author Thiago Surette groups: - name: Printers items: - uuid: e0cb194605d14383ad0e2eba0085696d name: 'Device Manufacturer' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.8.2.1.14.1.1 key: deviceManufacturer delay: '3600' history: 7d trends: '0' value_type: CHAR description: 'The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.' inventory_link: VENDOR tags: - tag: Application value: General - uuid: f6c0dcb1b0514222a68ba077915e7a0a name: '01 Device model' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.5.1.1.16.1 key: deviceModel delay: '30' trends: '0' value_type: CHAR inventory_link: MODEL tags: - tag: Application value: General - uuid: a77cdf18973149a780448c353ea0adbc name: 'KIT Manutencao' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.11.1.1.9.1.3 key: Kitmanutencao delay: 30s tags: - tag: Application value: Printer triggers: - uuid: b3620d0f0a0947818dcbc4c270f6c6e6 expression: 'last(/SNMP - Lexmark MONO/Kitmanutencao)<10000' name: 'Kit manutencao abaixo de 5%' priority: AVERAGE - uuid: 0f657490200448fc8226cb2b2400b2a5 name: 'Kit Rolo' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.11.1.1.9.1.5 key: Kitrolo delay: 30s tags: - tag: Application value: Printer triggers: - uuid: 4d8f29dad7654d9ca0b3e024934ee4f4 expression: 'last(/SNMP - Lexmark MONO/Kitrolo)<15000' name: 'Kit Rolo abaixo de 5%' priority: AVERAGE - uuid: af606969067d476f89d4e4621aa4a345 name: 'Maintenance Kit level' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.11.1.1.9.1.2 key: MaintenanceKitCurrentLevel delay: 60s tags: - tag: Application value: Printer triggers: - uuid: 2c3071f4cca443a180625ac48d619012 expression: 'last(/SNMP - Lexmark MONO/MaintenanceKitCurrentLevel)<9001' name: 'Unidade de Imagem abaixo de 9%' priority: AVERAGE - uuid: e88481c3f70f4ff8a346f40b4574d394 name: 'Maintenance Kit capacity' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.11.1.1.8.1.2 key: MaintenanceKitMaxCapacity delay: '3600' history: 7d trends: '0' tags: - tag: Application value: Printer - uuid: 82adce59132d4efbbfc262f82342b3b0 name: 'Printer Status' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.17.6.1.5.1.1 key: prtConsoleDescription delay: '60' history: 7d trends: '0' value_type: CHAR tags: - tag: Application value: Printer - uuid: 8f71bce487e34cdf9d0e2684dbe436df name: 'Page Counter' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.10.2.1.4.1.1 key: prtMarkerLifeCount delay: '60' trends: '0' value_type: LOG tags: - tag: Application value: Printer - uuid: b65fd237d0ac45cd9b9d459534544317 name: 'Toner print level' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.11.1.1.9.1.1 key: prtMarkerSuppliesLevel delay: 80s tags: - tag: Application value: Printer triggers: - uuid: ea93465b7dea4d0e9304480dfcc1e211 expression: 'last(/SNMP - Lexmark MONO/prtMarkerSuppliesLevel)>451 and last(/SNMP - Lexmark MONO/prtMarkerSuppliesLevel)<2250' name: 'Toner Abaixo de 5%' priority: AVERAGE - uuid: 994ac08693c946afae5af0101f9d86c4 expression: 'last(/SNMP - Lexmark MONO/prtMarkerSuppliesLevel)>1 and last(/SNMP - Lexmark MONO/prtMarkerSuppliesLevel)<450' name: 'Toner esgotado' priority: HIGH - uuid: 36ea49f2fe11488ca02a58bc310fee5e name: 'Toner print capacity' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.11.1.1.8.1.1 key: prtMarkerSuppliesMaxCapacity delay: '3600' history: 7d trends: '0' tags: - tag: Application value: Printer - uuid: 55f200d76f534532b31a646d2468df22 name: '05 Device Serial Number' type: SNMP_AGENT snmp_oid: .1.3.6.1.2.1.43.5.1.1.17.1 key: serialNumber delay: '3600' history: 7d trends: '0' value_type: CHAR inventory_link: SERIALNO_A tags: - tag: Application value: General graphs: - uuid: 85c7abb92068493db660e534e74fafd6 name: 'Toner level' graph_items: - color: 00C800 item: host: 'SNMP - Lexmark MONO' key: prtMarkerSuppliesLevel