[ZBXNEXT-1316] Set Trigger On String Comparison Created: 2012 Jul 14  Updated: 2015 Nov 02  Resolved: 2015 Nov 02

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: 2.0.1
Fix Version/s: None

Type: New Feature Request Priority: Minor
Reporter: Brian Carpio Assignee: Unassigned
Resolution: Duplicate Votes: 9
Labels: expressions
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Currently this feature is not present in any version of the Zabbix application.


Issue Links:
Duplicate
duplicates ZBXNEXT-702 Compare last "text" value with any ot... Closed
is duplicated by ZBXNEXT-1538 Add ability to compare two strings Closed

 Description   

It would be nice if it was possible to set a trigger based upon string compairison for instance I have two hosts (host_a, host_b) and each host has a template which reports the version of software its running item.version. It would be nice to trigger an alert if the the versions on each host is different:

{host:item_name.last(0)} != {another_host:item_name.last(0)} 


 Comments   
Comment by richlv [ 2015 Apr 10 ]

it would be also useful to specify how the comparison of greater/less than works - enabling version comparison, for example. see "sort -V" :

$ echo -e "11.2\n2.11" | sort
11.2
2.11
$ echo -e "11.2\n2.11" | sort -V
2.11
11.2

otherwise comparing software versions would be unreliable

Comment by richlv [ 2015 Nov 02 ]

closing as a duplicate of ZBXNEXT-702

Generated at Sat Jun 14 18:00:41 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.