[ZBXNEXT-2032] possible to use a part of the string (of key value) in trigger name Created: 2013 Nov 19  Updated: 2016 Jul 21  Resolved: 2016 Jul 21

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Templates (T)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Natalia Kagan Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-1638 Extract a value from a macro {i.e. IT... Closed

 Description   

possible to use a part of the string (of key value) in trigger name,

for example :

I'm using zabbix_sender to forward the SNMP traps to Zabbix server, for example:
/usr/local/bin/zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k GeneralSnmpKey -o msg="test12 failed with error1 and error2"

And I want to set the alert message only the text "test12 failed" - alert will be on "test12 failed on <host>"

I can present all the value: "test12 failed with error1 and error2" but no way to split it into variables.

Thanks



 Comments   
Comment by Alexander Vladishev [ 2016 Jul 21 ]

Closed as duplicate of ZBXNEXT-1638.

Generated at Thu Apr 25 07:59:52 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.