Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22971

Expression macro in action message is not inherited, when upgrade from 4.0 to 6.0

XMLWordPrintable

    • Sprint 101 (Jun 2023)
    • 0.1

      • Update action message like this in Zabbix 4.0
        {test:web.test.rspcode[test,test].last()}
        {{HOST.HOST}:web.test.rspcode[test,test].last()}
        {HOST.HOST}
        
        {test:vm.memory.size[].last()}
        {{HOST.HOST}:vm.memory.size[].last()}
        
      • Upgrade to 6.0, you will see message changed to custom message like below, macro {HOST.HOST} disapeared from expression {?last(//web.test.rspcode[test,test])} and {?last(//vm.memory.size[])},lack of hostname.
        {?last(/test/web.test.rspcode[test,test])}
        {?last(//web.test.rspcode[test,test])}
        {HOST.HOST}
        
        {?last(/test/vm.memory.size[])}
        {?last(//vm.memory.size[])}
        

      If it is designed behavior, I think we should mention it in the document.

            martins-v Martins Valkovskis
            yIn Syusei YIn
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: