Ad Widget

Collapse

Trigger prototype problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yanda.a
    Junior Member
    • Jan 2016
    • 11

    #1

    Trigger prototype problem

    Hi, guys. I want to use item from another template in trigger prototype expression.
    Code:
    {Template iostat:iostat.metric[{#HARDDISK},util].avg(5m)}>80 and {Template App Zabbix Agent:zabbix[host,,maintenance].last(0)}=0
    I have error:
    Code:
    Updated: Trigger prototype "Iostat: {#HARDDISK} util is high ({ITEM.LASTVALUE1})" on "Template iostat, Template App Zabbix Agent".
    Cannot implode expression "{Template OS Linux:iostat.metric[{#HARDDISK},util].avg(5m)}>80 and {Template OS Linux:zabbix[host,,maintenance].last(0)}=0". Incorrect item key "iostat.metric[{#HARDDISK},util]" provided for trigger expression on "Template OS Linux".
    Also, Template App Zabbix Agent linked to Template OS Linux.

    It does make it possible?
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by yanda.a
    Hi, guys. I want to use item from another template in trigger prototype expression.
    Code:
    {Template iostat:iostat.metric[{#HARDDISK},util].avg(5m)}>80 and {Template App Zabbix Agent:zabbix[host,,maintenance].last(0)}=0
    I have error:
    Code:
    Updated: Trigger prototype "Iostat: {#HARDDISK} util is high ({ITEM.LASTVALUE1})" on "Template iostat, Template App Zabbix Agent".
    Cannot implode expression "{Template OS Linux:iostat.metric[{#HARDDISK},util].avg(5m)}>80 and {Template OS Linux:zabbix[host,,maintenance].last(0)}=0". Incorrect item key "iostat.metric[{#HARDDISK},util]" provided for trigger expression on "Template OS Linux".
    Also, Template App Zabbix Agent linked to Template OS Linux.

    It does make it possible?
    looks to me as the Template Template OS Linux doesnt know the item iostat.metric try to add it to the template and see if it helps

    i never tried this before

    Comment

    Working...