Commit Graph

6 Commits

Author SHA1 Message Date
cproudlock
1d25195316 Add CLAUDE.md with project instructions
Documents:
- Zabbix template requirements for ShopDB integration
- Supply item naming rules ("Level" in name, percentage values)
- YAML structure (triggers inside items, valid UUIDv4)
- Common import errors and fixes
- HID DTC4500e device-specific notes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 14:20:18 -05:00
cproudlock
18846e1e1c Update HID template for displayprinter.asp compatibility, add template guidelines
HID Template Changes:
- Rename "Ribbon Remaining" to "Ribbon Level" (matches displayprinter.asp filter)
- Add preprocessing to convert raw print count to percentage (500-print YMCKO)
- Update triggers to use percentage thresholds (15% warning, 5% critical)
- Change key from hid.ribbon.remaining to hid.ribbon.level

README - Template Guidelines for ShopDB Integration:
- Supply items MUST include "Level" in name to appear in displayprinter.asp
- Values MUST be percentages (0-100) for progress bar display
- UUIDs MUST be valid UUIDv4 (32 hex chars, no dashes)
- Triggers MUST be nested inside items, not at template level
- Include preprocessing examples for converting raw counts to percentages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 14:15:37 -05:00
cproudlock
9e92b89482 Fix UUIDs to proper UUIDv4 format
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 14:05:20 -05:00
cproudlock
451d8ec73d Fix HID template structure: move triggers inside items
Triggers must be nested under their related items, not at template level.
Also updated ribbon thresholds for YMCKO color ribbons (75/25).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 14:03:23 -05:00
cproudlock
b95fafe230 Add Zabbix template for HID Fargo DTC4500e card printer
Template monitors via HID Enterprise MIB (1.3.6.1.4.1.28959):
- Printer status and error states
- Print counts (current session and lifetime)
- Ribbon remaining count
- Card hopper status
- Door/hopper open detection
- Film/ribbon loaded status
- Firmware version and serial number

Includes triggers for:
- Printer error state
- Door/hopper open
- Film not loaded
- Input hopper empty
- Ribbon low/critically low
- No SNMP data (offline detection)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 13:55:49 -05:00
cproudlock
389e620261 Initial commit: SNMP scanner and Zabbix template generator
Tools for printer discovery and monitoring:
- snmp_scanner.py: SNMP-based printer discovery
- generate_printer_templates.py: Generate Zabbix templates
- analyze_supplies.py: Analyze printer supply levels
- extract_summary.py: Extract printer data summaries

Includes Zabbix templates for:
- HP Color/Mono printers
- HP DesignJet T1700
- Xerox Color/Mono/Enterprise printers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 13:52:21 -05:00