Fix template UUIDs: use 32-char hex without hyphens (Zabbix format)
Zabbix expects UUIDv4 as 32 hex characters without hyphens, not the standard hyphenated UUID format. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
zabbix_export:
|
||||
version: '7.4'
|
||||
template_groups:
|
||||
- uuid: 7df96b18c230490a9a0a9e2307226338
|
||||
- uuid: 321ee297221c4cf7b490079f58e29e0a
|
||||
name: Templates
|
||||
templates:
|
||||
- uuid: a1b2c3d4e5f6789012345678deadbeef
|
||||
- uuid: 1b7f765236054941b3de3f3208ca6ab4
|
||||
template: Yodmon Yodeck Player
|
||||
name: Yodmon Yodeck Player
|
||||
description: |
|
||||
@@ -17,7 +17,7 @@ zabbix_export:
|
||||
groups:
|
||||
- name: Templates
|
||||
items:
|
||||
- uuid: 11111111222233334444555566667701
|
||||
- uuid: 7b268925506c45e6b0007794d5620b5a
|
||||
name: Online
|
||||
type: SNMP_AGENT
|
||||
snmp_oid: '.1.3.6.1.4.1.99999.1.1.3.{$YODECK_ID}'
|
||||
@@ -29,7 +29,7 @@ zabbix_export:
|
||||
tags:
|
||||
- tag: yodmon
|
||||
triggers:
|
||||
- uuid: 22222222333344445555666677778801
|
||||
- uuid: 6c643663ce30401d99fd7b9e63e301e7
|
||||
expression: 'max(/Yodmon Yodeck Player/yodeck.online,30m)<1'
|
||||
name: '{HOST.NAME} is offline'
|
||||
priority: WARNING
|
||||
@@ -39,7 +39,7 @@ zabbix_export:
|
||||
tags:
|
||||
- tag: yodmon
|
||||
|
||||
- uuid: 11111111222233334444555566667702
|
||||
- uuid: f6b1a94842674411a2a0bf8ef03cfeb6
|
||||
name: Last Seen Timestamp
|
||||
type: SNMP_AGENT
|
||||
snmp_oid: '.1.3.6.1.4.1.99999.1.1.7.{$YODECK_ID}'
|
||||
@@ -51,7 +51,7 @@ zabbix_export:
|
||||
tags:
|
||||
- tag: yodmon
|
||||
triggers:
|
||||
- uuid: 22222222333344445555666677778802
|
||||
- uuid: 34bae2f53055423f98bc37d426eda8da
|
||||
expression: 'now()-last(/Yodmon Yodeck Player/yodeck.last_seen_ts)>14400 and last(/Yodmon Yodeck Player/yodeck.last_seen_ts)>0'
|
||||
name: '{HOST.NAME} not seen for 4+ hours'
|
||||
priority: WARNING
|
||||
@@ -62,7 +62,7 @@ zabbix_export:
|
||||
tags:
|
||||
- tag: yodmon
|
||||
|
||||
- uuid: 11111111222233334444555566667703
|
||||
- uuid: f4fe99b975294182af10b5e6f48494d3
|
||||
name: Last Seen
|
||||
type: SNMP_AGENT
|
||||
snmp_oid: '.1.3.6.1.4.1.99999.1.1.4.{$YODECK_ID}'
|
||||
@@ -74,7 +74,7 @@ zabbix_export:
|
||||
tags:
|
||||
- tag: yodmon
|
||||
|
||||
- uuid: 11111111222233334444555566667704
|
||||
- uuid: 95f34a5e41f7415cbbb58e567b4bae39
|
||||
name: Updating
|
||||
type: SNMP_AGENT
|
||||
snmp_oid: '.1.3.6.1.4.1.99999.1.1.5.{$YODECK_ID}'
|
||||
@@ -86,7 +86,7 @@ zabbix_export:
|
||||
tags:
|
||||
- tag: yodmon
|
||||
|
||||
- uuid: 11111111222233334444555566667705
|
||||
- uuid: c4d66257b45a4bc6b26d7bc1f4020daa
|
||||
name: Registered
|
||||
type: SNMP_AGENT
|
||||
snmp_oid: '.1.3.6.1.4.1.99999.1.1.6.{$YODECK_ID}'
|
||||
|
||||
Reference in New Issue
Block a user