Ad Widget

Collapse

Assign triggers to users?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Surge
    Junior Member
    • Sep 2010
    • 16

    #1

    Assign triggers to users?

    I'm battling a bit to set up notifications/actions.
    In the organisation that I work at there are several IT departments and each department handles a different part of the server.

    e.g.
    Department A handles the hardware and OS for hosts while department B handles the apps and services running on the host.
    Department A wants to receive notifications for 10 items on the server.
    Department B wants to receive notifications for 5 items on the server.

    What I've done is use the "Trigger description like" condition and set up two actions (one per department) and then I rename the trigger descriptions per host to contain a string that I can filter by effectively messing up the template system.
    The only other option is to set up 15 actions (one per trigger) and filter on the trigger name but that becomes impossible to manage when handling more than just a few hosts.

    How can I assign specific triggers per host to users or user groups?

    What I really need is to be able to build more complex logical expressions in the action conditions in the trigger.
    i.e Combine AND and OR expressions with brackets to control how to expression is evaluated.
    (A) Host group = "Windows Servers"
    AND
    (B) Trigger value = "PROBLEM"
    AND
    (C) Maintenance status not in "maintenance"
    AND (
    (D) Trigger = "Trigger 1"
    OR
    (E) Trigger = "Trigger 2"
    OR
    (F) Trigger = "Trigger 3"
    OR
    (G) Trigger = "Trigger 4"
    )
  • marcel
    Senior Member
    Zabbix Certified Specialist
    • Oct 2010
    • 112

    #2
    Use contact definitions in Action operations box in Action configuration dialog. You can select contact group/user there. Also, you can filter triggers by Application in Action condition field

    Marcel
    Zabbix Certified Specialist for Large Environments since 12/2010

    Comment

    • Surge
      Junior Member
      • Sep 2010
      • 16

      #3
      Originally posted by marcel
      Use contact definitions in Action operations box in Action configuration dialog. You can select contact group/user there. Also, you can filter triggers by Application in Action condition field

      Marcel
      Thanks, I didn't think of the applications option.
      I'll create custom application groups per host and place the item to be alerted in the groups.
      Still a bit messy but better than hundreds of actions.

      Comment

      • marcel
        Senior Member
        Zabbix Certified Specialist
        • Oct 2010
        • 112

        #4
        It's actually very neat option, because in most of the medium/big organizations admins are servicing applications (groups of triggers), not triggers themselves - e.g. Web admin administers Apache process, memory used by PHP, disk space on /web filesystem - all these groupped together is a WEB Application. It does make perfect sense. Not to mention that one item can belong into multiple Aplpications (e.g. memory usage of Oracle is a problem for both - database admin and system admin)

        You can also use asterisk * in Application definition in Action condition field.
        Zabbix Certified Specialist for Large Environments since 12/2010

        Comment

        Working...