Add Zabbix 7.4 MS Teams media type with printer lookup integration
Created custom MS Teams webhook for Zabbix 7.4 with the following features:
1. Fixed EVENT.SOURCE error - uses {?EVENT.SOURCE} (optional macro) to prevent
"must be 0-4" error during media type testing
2. Printer integration - automatically adds "View Printer" button to alerts:
- Captures HOST.IP from Zabbix
- Links to printer_lookup.asp?ip={HOST.IP}
- Redirects to proper displayprinter.asp page
3. Displays printer IP address in alert facts
4. Two action buttons in Teams messages:
- "View in Zabbix" - opens Zabbix event details
- "View Printer" - opens ShopDB printer page
5. Color-coded severity levels
6. Support for Problem/Recovery/Update message templates
Configuration after import:
- Set teams_endpoint to your Teams incoming webhook URL
- Set shopdb_url to http://192.168.122.151:8080 (or your ShopDB URL)
- Set zabbix_url to your Zabbix server URL
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
146
zabbix_media_type_teams.json
Normal file
146
zabbix_media_type_teams.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user