Hi guys,
After upgrading to Zabbix 6.0 I cannot get in Actions the Macros with latest entries working (which worked ok on Zabbix 5.x) .
I have a trigger which checks for a specific keyword apearing in a log, and once triggered I was receiving the actual entry log {ITEM.VALUE1} and the previous 10 values before that (to see what happened before).
The below output from Actions - Operations returns ok the Item.Value1, but not the last values/10 logs before. Can anybody help and suggest what happened/changed in the new Zabbix and how to make it working back?
Thank you in advance!
Trigger:
The related Item and all the logs entries (current and previous ones; logrt["E:\IBM\Lotus\Domino\data\IBM_TECHNICAL_SUPPORT\co nsole.log"]) are being populated correctly and I can see them all in Latest Data
Actions - Operations
Result I'm getting on mail:
After upgrading to Zabbix 6.0 I cannot get in Actions the Macros with latest entries working (which worked ok on Zabbix 5.x) .
I have a trigger which checks for a specific keyword apearing in a log, and once triggered I was receiving the actual entry log {ITEM.VALUE1} and the previous 10 values before that (to see what happened before).
The below output from Actions - Operations returns ok the Item.Value1, but not the last values/10 logs before. Can anybody help and suggest what happened/changed in the new Zabbix and how to make it working back?
Thank you in advance!
Trigger:
Code:
find(/Server/logrt["E:\IBM\Lotus\Domino\data\IBM_TECHNICAL_SUPPORT\console.log"],30s,"like","Lock(Mode=")=1 and nodata(/Server/logrt["E:\IBM\Lotus\Domino\data\IBM_TECHNICAL_SUPPORT\console.log"],10s)<>1
Actions - Operations
Code:
{ITEM.VALUE1}
Latest 10 entries in the log on the server:
{?last(//{ITEM.KEY},#1)}
{?last(//{ITEM.KEY},#2)}
{?last(//{ITEM.KEY},#3)}
{?last(//{ITEM.KEY},#4)}
{?last(//{ITEM.KEY},#5)}
{?last(//{ITEM.KEY},#6)}
{?last(//{ITEM.KEY},#7)}
{?last(//{ITEM.KEY},#8)}
{?last(//{ITEM.KEY},#9)}
{?last(//{ITEM.KEY},#10)}
Code:
[1438:00D4-0F3C] Lock(Mode=S * LockID(Open Collection DB=E:\IBM\Lotus\Domino\data\slist.nsf NoteID=486)) Waiters countNonIntentLocks = 1 countIntentLocks = 0, queuLength = 7 Latest 100 entries in the log on the server: *UNKNOWN* *UNKNOWN* *UNKNOWN* *UNKNOWN* *UNKNOWN* *UNKNOWN* *UNKNOWN* *UNKNOWN* *UNKNOWN* *UNKNOWN*
But example here shows usage in event name...
Comment