Fix inverted door/hopper status interpretation
Based on user testing: - DH:1 = Closed/OK (not Open as assumed) - DH:0 = Open/Warning Changes: - Invert door status trigger: fire on =0, not =1 - Update valuemap: 0=Open, 1=Closed - Update description to reflect correct interpretation Note: Hopper card count (OID .1.13.0) may report inaccurate values from printer firmware - this is a hardware/firmware limitation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -397,7 +397,7 @@ zabbix_export:
|
|||||||
history: 90d
|
history: 90d
|
||||||
trends: '0'
|
trends: '0'
|
||||||
value_type: UNSIGNED
|
value_type: UNSIGNED
|
||||||
description: 'Door/Hopper status extracted from flags (0=Closed/OK, 1=Open/Warning)'
|
description: 'Door/Hopper status extracted from flags (0=Open/Warning, 1=Closed/OK)'
|
||||||
master_item:
|
master_item:
|
||||||
key: hid.status.flags
|
key: hid.status.flags
|
||||||
tags:
|
tags:
|
||||||
@@ -415,7 +415,7 @@ zabbix_export:
|
|||||||
name: HID Door Status
|
name: HID Door Status
|
||||||
triggers:
|
triggers:
|
||||||
- uuid: eaddab3ea34e443fbce891ca79ec9c34
|
- uuid: eaddab3ea34e443fbce891ca79ec9c34
|
||||||
expression: 'last(/HID Fargo DTC4500e Card Printer/hid.status.door)=1'
|
expression: 'last(/HID Fargo DTC4500e Card Printer/hid.status.door)=0'
|
||||||
name: 'HID DTC4500e: Door/Hopper open on {HOST.NAME}'
|
name: 'HID DTC4500e: Door/Hopper open on {HOST.NAME}'
|
||||||
priority: WARNING
|
priority: WARNING
|
||||||
description: 'Printer door or hopper is open'
|
description: 'Printer door or hopper is open'
|
||||||
@@ -513,9 +513,9 @@ zabbix_export:
|
|||||||
name: HID Door Status
|
name: HID Door Status
|
||||||
mappings:
|
mappings:
|
||||||
- value: '0'
|
- value: '0'
|
||||||
newvalue: Closed
|
|
||||||
- value: '1'
|
|
||||||
newvalue: Open
|
newvalue: Open
|
||||||
|
- value: '1'
|
||||||
|
newvalue: Closed
|
||||||
|
|
||||||
- uuid: 6ec97e9591b64510a0b65e27b7c5c601
|
- uuid: 6ec97e9591b64510a0b65e27b7c5c601
|
||||||
name: HID Film Status
|
name: HID Film Status
|
||||||
|
|||||||
Reference in New Issue
Block a user