[ZBX-12293] <= and >= operator do not listed in trigger function list popup in configuration page Created: 2017 Jun 19  Updated: 2024 Apr 10  Resolved: 2018 Aug 10

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.9
Fix Version/s: 3.0.21rc1, 3.4.13rc1, 4.0.0beta1, 4.0 (plan)

Type: Patch request Priority: Trivial
Reporter: Kodai Terashima Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 1
Labels: trigger
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Selection_551.png     PNG File Selection_552.png     PNG File Selection_553.png     PNG File Selection_556.png     PNG File Selection_562.png     Text File ZBX-12293.patch     PNG File trigger-function-list.png    
Issue Links:
Causes
causes ZBX-15233 fuzzytime trigger function descriptio... Closed
Duplicate
is duplicated by ZBX-11428 In trigger Wizard> =, <= can not be i... Closed
Team: Team B
Sprint: Sprint 27, Sprint 28, Sprint 29, Sprint 30, Sprint 31, Sprint 32, Sprint 33, Sprint 34, Sprint 35, Sprint 36, Sprint 37, Sprint 38, Sprint 39, Sprint 40
Story Points: 0.5

 Description   

<= and >= operators are not listed in trigger function popup in configuration page



 Comments   
Comment by kanika satija [ 2017 Nov 06 ]

Attaching the patch in this bug. Tested on zabbix v3.4. Please verify the patch at your end

palivoda Thank you, we will take a look at the patch. It would be nice if you can test our branch when we RESOLVE the issue.

Comment by kanika satija [ 2017 Nov 12 ]

Thank you. I hope my patch will be accepted by your community.
Yes, I'll surely test your patch as well once it is released.

Comment by Valdis Murzins [ 2018 Jul 20 ]

Your patch was good, although prepared for older Zabbix version.
By looking at proposed change we decided to go one step further. We will extract operator from Function and put it in drop-down field in front of N text field.
Such change make function list ~4 times smaller and easier to navigate in.

Comment by Ivo Kurzemnieks [ 2018 Jul 23 ]
Old function names New function names
Absolute difference between last and previous value is < N
Absolute difference between last and previous value is = N
Absolute difference between last and previous value is > N
Absolute difference between last and previous value is NOT N
abschange() - Absolute difference between last and previous value
Average value of a period T is < N
Average value of a period T is > N
Average value of a period T is = N
Average value of a period T is NOT N
avg() - Average value of a period T
Difference between MAX and MIN value of a period T is < N
Difference between MAX and MIN value of a period T is > N
Difference between MAX and MIN value of a period T is = N
Difference between MAX and MIN value of a period T is NOT N
delta() - Difference between MAX and MIN value of a period T
Difference between last and previous value is < N
Difference between last and previous value is > N
Difference between last and previous value is = N
Difference between last and previous value is NOT N
change() - Difference between last and previous value
Number of successfully retrieved values V (which fulfill operator O) for period T is < N
Number of successfully retrieved values V (which fulfill operator O) for period T is > N
Number of successfully retrieved values V (which fulfill operator O) for period T is = N
Number of successfully retrieved values V (which fulfill operator O) for period T is NOT N
count() - Number of successfully retrieved values V (which fulfill operator O) for period T
Difference between last and preceding values, then N = 1, 0 - otherwise
Difference between last and preceding values, then N NOT 1, 0 - otherwise
diff() - Difference between last and preceding values (1 - match, 0 - no match)
Last (most recent) T value is < N
Last (most recent) T value is > N
Last (most recent) T value is = N
Last (most recent) T value is NOT N
last() - Last (most recent) T value
Maximum value for period T is < N
Maximum value for period T is > N
Maximum value for period T is = N
Maximum value for period T is NOT N
max() - Maximum value for period T
Minimum value for period T is < N
Minimum value for period T is > N
Minimum value for period T is = N
Minimum value for period T is NOT N
min() - Minimum value for period T
Percentile P of a period T is < N
Percentile P of a period T is > N
Percentile P of a period T is = N
Percentile P of a period T is NOT N
percentile() - Percentile P of a period T
Previous value is < N
Previous value is > N
Previous value is = N
Previous value is NOT N
prev() - Previous value
Find string V in last (most recent) value. N = 1 - if found, 0 - otherwise
Find string V in last (most recent) value. N NOT 1 - if found, 0 - otherwise
str() - Find string V in last (most recent) value (1 - found, 0 - not found)
Length of last (most recent) T value in characters is < N
Length of last (most recent) T value in characters is > N
Length of last (most recent) T value in characters is = N
Length of last (most recent) T value in characters is NOT N
strlen() - Length of last (most recent) T value in characters
Sum of values of a period T is < N
Sum of values of a period T is > N
Sum of values of a period T is = N
Sum of values of a period T is NOT N
sum() - Sum of values of a period T
Current date is < N
Current date is > N
Current date is = N
Current date is NOT N
date() - Current date
Day of week is < N
Day of week is > N
Day of week is = N
Day of week is NOT N
dayofweek() - Day of week
Day of month is < N
Day of month is > N
Day of month is = N
Day of month is NOT N
dayofmonth() - Day of month
Difference between item timestamp value and Zabbix server timestamp is over T seconds, then N = 0, 1 - otherwise
Difference between item timestamp value and Zabbix server timestamp is over T seconds, then N NOT 0, 1 - otherwise
fuzzytime() - Difference between item timestamp value and Zabbix server timestamp is over T seconds (1 - match, 0 - no match)
Regular expression V matching last value in period T, then N = 1, 0 - otherwise
Regular expression V matching last value in period T, then N NOT 1, 0 - otherwise
regexp() - Regular expression V matching last value in period T (1 - match, 0 - no match)
Regular expression V matching last value in period T, then N = 1, 0 - otherwise (non case-sensitive)
Regular expression V matching last value in period T, then N NOT 1, 0 - otherwise (non case-sensitive)
iregexp() - Regular expression V matching last value in period T (non case-sensitive; 1 - match, 0 - no match)
Event ID of last log entry matching regular expression T, then N = 1, 0 - otherwise
Event ID of last log entry matching regular expression T, then N NOT 1, 0 - otherwise
logeventid() - Event ID of last log entry matching regular expression T (1 - match, 0 - no match)
Log severity of the last log entry is < N
Log severity of the last log entry is > N
Log severity of the last log entry is = N
Log severity of the last log entry is NOT N
logseverity() - Log severity of the last log entry
Log source of the last log entry matching parameter T, then N = 1, 0 - otherwise
Log source of the last log entry matching parameter T, then N NOT 1, 0 - otherwise
logsource() - Log source of the last log entry matching parameter T (1 - match, 0 - no match)
Number of seconds since the Epoch is < N
Number of seconds since the Epoch is > N
Number of seconds since the Epoch is = N
Number of seconds since the Epoch is NOT N
now() - Number of seconds since the Epoch
Current time is < N
Current time is > N
Current time is = N
Current time is NOT N
time() - Current time
No data received during period of time T, then N = 1, 0 - otherwise
No data received during period of time T, then N NOT 1, 0 - otherwise
nodata() - No data received during period of time T (1 - match, 0 - no match)
Bitwise AND of last (most recent) T value and mask is = N
Bitwise AND of last (most recent) T value and mask is NOT N
band() - Bitwise AND of last (most recent) T value and mask
Forecast for next t seconds based on period T is < N
Forecast for next t seconds based on period T is > N
Forecast for next t seconds based on period T is = N
Forecast for next t seconds based on period T is NOT N
forecast() - Forecast for next t seconds based on period T
Time to reach threshold estimated based on period T is < N
Time to reach threshold estimated based on period T is > N
Time to reach threshold estimated based on period T is = N
Time to reach threshold estimated based on period T is NOT N
timeleft() - Time to reach threshold estimated based on period T

Please, check for any English mistakes and give your thumb for approval.
martins-v -
sasha -

Comment by Ivo Kurzemnieks [ 2018 Jul 23 ]

RESOLVED for 3.0 in svn://svn.zabbix.com/branches/dev/ZBX-12293
RESOLVED for trunk in svn://svn.zabbix.com/branches/dev/ZBX-12293-trunk

Comment by Ivo Kurzemnieks [ 2018 Aug 10 ]

Fixed in:

  • pre-3.0.21rc1 r83693
  • pre-3.4.13rc1 r83694
  • 4.0.0alpha10 (trunk) r83695
Comment by Martins Valkovskis [ 2018 Aug 10 ]

(10) [D] Added to what's new for 3.4.13 and 3.0.21. RESOLVED

iivs CLOSED

Generated at Fri Apr 26 21:03:40 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.