Ad Widget

Collapse

Alert Host condition, not working or useless?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Valerie
    Junior Member
    • Jan 2006
    • 28

    #1

    Alert Host condition, not working or useless?

    Hi,

    Just realised that even though we use combine the 2 following conditions in Alert configuration:
    Code:
    Trigger Host = "HAL"
    Trigger value = "ON"
    the specified receiver will receive all alerts for VALUE="ON", not only those for the it's host.

    This is bad, has we want to notice specified user only when their specific machine raise a trigger/alert.

    I am using version 1.1 beta 5, is this solved in new version? Is their a workaround or something I am missing in alert configuration?

    Thanks
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Are you sure you receive all notifications regardless of host name? It is the only action defined?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Valerie
      Junior Member
      • Jan 2006
      • 28

      #3
      Hi Alexei,

      I am pretty sure the user received all email, for all triggers from all host...At least, i am 100% sure he did not only receive email regarding the host specified in the action configuration.
      Plus, this is a sample email I received.

      Code:
      Components: Processor load is high on wd2016472: ON
      
      --- 
      Trigger value = "ON"
      Host = "aquila"
      This email comes from the action with only the 2 conditions listed...


      Maybe this has something to do with this bug :
      When i add a Host trigger condition, and then select it with the checkbox and click on "delete selected", it does not disapear from the Conditions list...

      Comment

      • Valerie
        Junior Member
        • Jan 2006
        • 28

        #4
        We've got a test machine on wich run Zabbix 1.1Beta6. I tried the same conditions as explained above and it seems to have the exact same behavior.
        The action sent is :

        Code:
        Basics: wd2019339 is unreachable: ON
        ---------------
        Conditions
        Host = "aquila"
        Trigger value = "ON"
        I believe actions with host="someHost" should only be sent when THAT host raise a trigger right? But that is not the case nor in 1.1b5 or 1.1b6

        Any help or approval/denied on this case would be greatly appreciated.
        Last edited by Valerie; 03-03-2006, 21:51.

        Comment

        • maglarr99
          Junior Member
          • Jan 2005
          • 4

          #5
          Same here....

          I am getting the same here. I setup an action so my IT Manager only get an email on our switches and no matter what trigger fires, he gets an email, not just for the switches.

          Comment

          • rares
            Junior Member
            • Mar 2006
            • 1

            #6
            Maybe this is the problem(in actions.c)

            Code:
            @@ -422,6 +422,7 @@ static int  check_action_condition(DB_TRI
                            result = DBselect(sql);
                            for(i=0;i<DBnum_rows(result);i++)
                            {
            +                       ret = FAIL;
                                    if(condition->operator == CONDITION_OPERATOR_EQUAL)
                                    {       
                                            if(atoi(condition->value) == atoi(DBget_field(result,i,0)))
            Probably you should wait for someone that look for more then 10 minutes to the zabbix code to advice.

            take care

            Comment

            • Valerie
              Junior Member
              • Jan 2006
              • 28

              #7
              Alexei,
              Is there a fix for this comming? Should I configure the action, one per trigger instead of using Maccros?

              Comment

              Working...