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>
5.7 KiB
5.7 KiB
HP DesignJet T1700dr PostScript - Zabbix Monitoring Setup
Printer Information
- Model: HP DesignJet T1700dr PostScript (44" wide format)
- IP Address: 10.80.92.24
- Hostname: NPIDDF2D7
- Serial Number: CN91P7H00J
- Firmware: JGRw_04_19_18.1
- Location: Blisk Inspection
Ink Cartridge System
This printer uses the HP 730 series ink cartridges (6 colors):
| Color | Part Number | Max Capacity | SNMP Index |
|---|---|---|---|
| Matte Black | P2V72A | 3000 | 1 |
| Cyan | P2V73A | 3000 | 2 |
| Magenta | P2V71A | 3000 | 3 |
| Yellow | P2V70A | 3000 | 4 |
| Photo Black | P2V69A | 3000 | 5 |
| Gray | P2V68A | 3000 | 6 |
Zabbix Template
Template File
- Location:
/home/camp/snmp-scanner/zabbix_template_hp_designjet_t1700_v2.yaml(CORRECTED VERSION) - Old Location:
/home/camp/snmp-scanner/zabbix_template_hp_designjet_t1700.yaml(Uses wrong OIDs - do not use) - Template Name: HP DesignJet T1700
- Template Group: Printers
Key SNMP OIDs
Printer Information
- Model: 1.3.6.1.2.1.25.3.2.1.3.1
- Hostname: 1.3.6.1.2.1.1.5.0
- Serial Number: 1.3.6.1.4.1.11.2.3.9.4.2.1.1.3.3.0 (HP-specific)
- Location: 1.3.6.1.2.1.1.6.0
- Firmware: 1.3.6.1.4.1.11.2.3.9.4.2.1.1.3.6.0
Ink Levels (Per Color)
IMPORTANT: HP DesignJet uses proprietary HP OIDs for ink levels, NOT standard Printer MIB OIDs.
- Part Number: 1.3.6.1.2.1.43.11.1.1.6.1.{index} (Standard - works)
- Max Capacity: 1.3.6.1.2.1.43.11.1.1.8.1.{index} (Standard - works)
- Current Level: 1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.5.4.{index}.1.0 (HP proprietary - direct percentage)
Monitored Items
For each ink cartridge:
- Part Number (Text) - Identifies the specific HP 730 cartridge from standard OID
- Ink Level Percentage (Direct from HP OID) - Current ink level as percentage (0-100)
Triggers
Warning Level (20%):
- Trigger when ink level drops below 20%
- Priority: WARNING
- Shows current level and replacement part number
Critical Level (10%):
- Trigger when ink level drops below 10%
- Priority: HIGH
- Shows current level and replacement part number
Import Instructions
1. Import Template to Zabbix
# From Zabbix web interface:
# 1. Navigate to: Configuration → Templates
# 2. Click "Import" button
# 3. Upload: /home/camp/snmp-scanner/zabbix_template_hp_designjet_t1700_v2.yaml
# 4. Click "Import"
# NOTE: Use v2 template - it has the correct HP proprietary OIDs for ink levels
2. Configure SNMP on Host
# In Zabbix:
# 1. Go to: Configuration → Hosts
# 2. Find or create host for: 10.80.92.24
# 3. Set hostname to: NPIDDF2D7 (or descriptive name)
# 4. Add to host group: Printers
3. Link Template to Host
# In host configuration:
# 1. Go to "Templates" tab
# 2. Click "Select" next to "Link new templates"
# 3. Search for: HP DesignJet T1700
# 4. Click "Add"
# 5. Click "Update"
4. Configure SNMP Interface
# In host configuration:
# 1. Go to "Interfaces" tab
# 2. Add SNMP interface:
# - IP: 10.80.92.24
# - Port: 161
# - SNMP version: SNMPv2
# - SNMP community: public (or your community string)
# 3. Click "Update"
Verification
Test SNMP Connectivity
# From Zabbix server/proxy, test SNMP:
snmpget -v2c -c public 10.80.92.24 1.3.6.1.2.1.1.5.0
# Should return: NPIDDF2D7
snmpget -v2c -c public 10.80.92.24 1.3.6.1.2.1.25.3.2.1.3.1
# Should return: HP DesignJet T1700dr PostScript (44" sized)
Check Data Collection
# In Zabbix:
# 1. Go to: Monitoring → Latest data
# 2. Filter by host: NPIDDF2D7
# 3. Verify items are collecting data:
# - Printer Model
# - All 6 ink levels (Matte Black, Cyan, Magenta, Yellow, Photo Black, Gray)
# - Serial Number
# - Firmware Version
Maintenance Notes
Ink Replacement Procedure
-
Order Supplies: HP 730 series cartridges
- Can purchase 130ml or 300ml sizes
- All colors use same cartridge design
-
Check Current Levels:
- Monitor Zabbix dashboard
- Check printer web interface: http://10.80.92.24
-
Replace Cartridge:
- Power on printer
- Open ink cartridge access door
- Remove empty cartridge
- Install new cartridge
- Close access door
-
Verify in Zabbix:
- Levels should update within 1 hour
- Alert should clear automatically
Compatible Models
This template can also be used for:
- HP DesignJet T1600 (same ink system)
- HP DesignJet T2600 (same ink system)
- Other HP DesignJet models using HP 730 inks
Troubleshooting
No Data Collected
-
Check SNMP connectivity:
snmpwalk -v2c -c public 10.80.92.24 1.3.6.1.2.1.1 -
Verify community string is correct
-
Check firewall allows UDP 161
-
Ensure printer SNMP is enabled
Incorrect Ink Levels
-
Verify you're using the HP proprietary OID (not standard Printer MIB):
# HP DesignJet proprietary OID (correct for T1700): snmpwalk -v2c -c WestJeff2025 10.80.92.24 1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.5.4 # Standard Printer MIB (will NOT work on DesignJet): snmpwalk -v2c -c WestJeff2025 10.80.92.24 1.3.6.1.2.1.43.11.1.1.9.1 -
Ensure you're using template v2 (not v1) which has correct OIDs
-
Check if printer firmware needs update
Alerts Not Triggering
- Check trigger expressions in template
- Verify item data is being collected
- Check trigger dependencies
- Review Zabbix logs for errors
Additional Resources
- HP Support: HP DesignJet T1700 Support
- Ink Specifications: HP 730 Cartridge Info
- SNMP MIB: Printer-MIB (RFC 3805)
- HP Enterprise MIB: HP-LASERJET-COMMON-MIB