Ad Widget

Collapse

about triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • warrior.liu
    Junior Member
    • Oct 2009
    • 12

    #1

    about triggers

    HI,guys!
    I have two problem about trigger:
    one is:I read the manual of zabbix found the example :
    Example 5
    Both nodes of clustered SMTP server are down
    Note use of two different hosts in one expression:
    {smtp1.zabbix.com:net.tcp.service[smtp].last(0)}=0&{smtp2.zabbix.com:net.tcp.service[smtp].last(0)}=0
    The expression is true when both SMTP servers are down on both smtp1.zabbix.com and smtp2.zabbix.com.
    when i set the trigger if item in the same node is ok ,in the diffrent is can't save,error mesage is
    No such monitored parameter (tcp,23.last(0)}<1 & {: ) for host (test)
    other is :for example :i use two servers(one is master,the other is child) monitor the same host,so i hope when both of node monitor the host status is problem in the same time,then send the message to user! now i don't enable funciton ,hope somebody help ,thanks!
  • Jun.Liu
    Member
    • Apr 2007
    • 91

    #2
    for your q1: you must create the item for the host 'test' before you can use it in trigger.

    for your q2: did you mean the two server(master and child) are zabbix server?

    Comment

    • warrior.liu
      Junior Member
      • Oct 2009
      • 12

      #3
      Originally posted by Jun.Liu
      for your q1: you must create the item for the host 'test' before you can use it in trigger.

      for your q2: did you mean the two server(master and child) are zabbix server?
      Thanks for your feedback!

      Q1:I created item for the host before use the trigger,i found if in the same node,can use logic operation to the trigger!
      Q2,master and child both are zabbix server?

      Comment

      • Jun.Liu
        Member
        • Apr 2007
        • 91

        #4
        you must specify the hostname and item key (not item name!) if they don't belong to same host. example:

        {host1:item_key.last(0)}>0 & {host2:item_key.last(0)}>0

        do you mind paste your trigger configuration here?

        Comment

        • warrior.liu
          Junior Member
          • Oct 2009
          • 12

          #5
          Originally posted by Jun.Liu
          you must specify the hostname and item key (not item name!) if they don't belong to same host. example:

          {host1:item_key.last(0)}>0 & {host2:item_key.last(0)}>0

          do you mind paste your trigger configuration here?
          trigger example:
          {host1:http,8080.sum(#3)}<1
          i know item like that {host1:item_key.last(0)}>0 & {host2:item_key.last(0)}>0 is ok ,
          but i don't know host1&host2 they are in the different nodes,because in the same like that is ok!

          thanks for your time!

          Comment

          Working...