Remove unreliable card count and door/hopper status items
Removed due to inaccurate sensor data from printer firmware: - Card Count in Hopper (OID .1.13.0) - reported wrong values - Door/Hopper Status (derived from DH flag) - inverted/unreliable - HID Door Status valuemap (no longer needed) Remaining items still monitor ribbon level, film status, print counts, error state, and input hopper status via flags. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -371,58 +371,7 @@ zabbix_export:
|
||||
- tag: type
|
||||
value: error
|
||||
|
||||
- uuid: 28697e8eae8c4264a5eca54ce37b2fe3
|
||||
name: Card Count in Hopper
|
||||
type: SNMP_AGENT
|
||||
snmp_oid: 'get[1.3.6.1.4.1.28959.3.255.1.13.0]'
|
||||
key: hid.hopper.count
|
||||
delay: 5m
|
||||
history: 90d
|
||||
trends: 365d
|
||||
value_type: UNSIGNED
|
||||
units: cards
|
||||
description: 'Estimated cards remaining in input hopper'
|
||||
tags:
|
||||
- tag: component
|
||||
value: supplies
|
||||
- tag: type
|
||||
value: consumable
|
||||
|
||||
# === Derived Items from Status Flags ===
|
||||
- uuid: fd33474b04714f3db64ea94930ba8593
|
||||
name: Door/Hopper Status
|
||||
type: DEPENDENT
|
||||
key: hid.status.door
|
||||
delay: '0'
|
||||
history: 90d
|
||||
trends: '0'
|
||||
value_type: UNSIGNED
|
||||
description: 'Door/Hopper status extracted from flags (0=Open/Warning, 1=Closed/OK)'
|
||||
master_item:
|
||||
key: hid.status.flags
|
||||
tags:
|
||||
- tag: component
|
||||
value: printer
|
||||
- tag: type
|
||||
value: status
|
||||
preprocessing:
|
||||
- type: JAVASCRIPT
|
||||
parameters:
|
||||
- |
|
||||
var match = value.match(/DH:(\d)/);
|
||||
return match ? match[1] : '0';
|
||||
valuemap:
|
||||
name: HID Door Status
|
||||
triggers:
|
||||
- uuid: eaddab3ea34e443fbce891ca79ec9c34
|
||||
expression: 'last(/HID Fargo DTC4500e Card Printer/hid.status.door)=0'
|
||||
name: 'HID DTC4500e: Door/Hopper open on {HOST.NAME}'
|
||||
priority: WARNING
|
||||
description: 'Printer door or hopper is open'
|
||||
tags:
|
||||
- tag: scope
|
||||
value: notice
|
||||
|
||||
- uuid: 9b4cd42ecb274382b8e6092f9d8b18f5
|
||||
name: Film/Ribbon Loaded
|
||||
type: DEPENDENT
|
||||
@@ -509,14 +458,6 @@ zabbix_export:
|
||||
- value: '5'
|
||||
newvalue: Error
|
||||
|
||||
- uuid: d17dea90ecae4ecba0e5bbc4ac3e9b51
|
||||
name: HID Door Status
|
||||
mappings:
|
||||
- value: '0'
|
||||
newvalue: Open
|
||||
- value: '1'
|
||||
newvalue: Closed
|
||||
|
||||
- uuid: 6ec97e9591b64510a0b65e27b7c5c601
|
||||
name: HID Film Status
|
||||
mappings:
|
||||
|
||||
Reference in New Issue
Block a user