Ad Widget

Collapse

Customer email alerts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bullz3y3
    Junior Member
    • Jan 2014
    • 4

    #1

    Customer email alerts

    I need to send email alerts of specific group to specific user's address. I can't make it work with the actions.

    Anyone can help me?
  • Linwood
    Senior Member
    • Dec 2013
    • 398

    #2
    How far have you gotten?

    You need to configure a Media Type for email, and make sure that works (you can't test from the setup unfortunately, but make sure the email server you select will work to/from and not give relay errors). Note the address in this setup is the FROM address.

    Then in your user (not user group) configure the user's email address. This obviously is the TO address. Administration -> Users on the Media page.

    then under Configuration, Actions (choose event source of triggers), create an action. You specify the conditions one one tab, and those conditions can limit the impact to a specific host or host group, then you put the operation to send mail on the operation tab and specify group or user there. This is also where you set up durations for repeating messages, etc.

    And of course your triggers have to be firing and creating a status of the appropriate severity you set in the action conditions.

    Comment

    • Bullz3y3
      Junior Member
      • Jan 2014
      • 4

      #3
      This Zabbix is deployed in the cloud and I have already configured local postfix and all the triggers are being sent to Admin's email address and that is working without an issue.

      My other requirement is to send alerts to a specific user i.e a customer should receive the notifications for his host group.

      I created a second action identical to Admin(default) action and by adding host group with AND/OR option and operation as to send to the customer.

      But it doesn't seem to work. Am I missing something on the configurations.

      Comment

      • Linwood
        Senior Member
        • Dec 2013
        • 398

        #4
        Originally posted by Bullz3y3
        But it doesn't seem to work. Am I missing something on the configurations.
        Can you tell (Administration -> Notification)whether it thinks it is sending to that user or not? I.e. is the problem in the rule evaluation, not trying to send, or is the problem it is trying to send (and counting it) but not actually sending?

        Anything in the postfix logs to indicate it tried and failed, or tried and got blocked downstream?

        Relay issues perhaps with different domains?

        Sorry, can't be much more help. need some clues.

        Comment

        • Bullz3y3
          Junior Member
          • Jan 2014
          • 4

          #5
          Thanks you for the reply. Following info would make it clear for you.

          Assuming default admin email is [email protected] and enabled the default actions where it send out all the notifications to.

          Second I created another user Customer1 and email [email protected]

          Created a new action including the host/hostgroup.

          When I trigger a problem on a server in the specific host/hostgroup I don't see any additional logs on postfix. So it only sends to the admin's email.

          Following are the only changes I did on new action

          Conditions


          Operations


          Hope this info would be sufficient

          Comment

          • aib
            Senior Member
            • Jan 2014
            • 1615

            #6
            When you created the Customer's Zabbix User - did you configure all settings, include Permissions tab?
            Sincerely yours,
            Aleksey

            Comment

            Working...