Ad Widget

Collapse

Trigger dependencies and "inherited" templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #1

    Trigger dependencies and "inherited" templates

    Hi,

    I have the follwing template setup:

    X_Server --> X_Linux --> X_L_Web --> X_LAMP

    I have a host (intranego-dev) linked with template X_LAMP.
    It inherits all the triggers and items.

    See attached file host_items.PNG for all items.

    X_Server: ping (item+trigger)
    X_Linux: + ssh (item+trigger)
    X_L_Web: + HTTP 80 (item+trigger)
    X_LAMP: + MySQL 3306 (item+trigger)

    Triggers are all defined with a dependency to the ICMP Ping trigger.

    For example HTTP trigger on template X_L_Web has a dependency to "Echec Ping X_L_Web" (= ping failure).

    All triggers work fine on host intranego-dev except for one thing: dependencies are not used.
    If ping fails and then HTTP/SSH/MySQL fail, I get 4 alerts.

    I've created an "HTTPS 443" item and a "HTTPS 443 Down" trigger with a dependency to "Echec Ping intranego-dev". This is local/specific to intranego-dev.
    On that very trigger, dependency is checked and I won't get notified if HTTPS fails while ping is already down.

    Well, what did I do wrong ?
    I created dependencies between triggers of the same level (HTTP trigger on X_L_Web depending on Ping trigger on the same template and not on X_Server). Is this correct or should I "point" to the ping trigger from X_Server ("root" remplate that actually provides the ping trigger) ?

    Thanks for your help !

    PS: more attached screenshots in the message below
    Attached Files
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Two more screenshots.
    Attached Files

    Comment

    Working...