Ad Widget

Collapse

Macro problems with Actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • traq911
    Junior Member
    • May 2005
    • 17

    #1

    Macro problems with Actions

    I'm trying to use the newly created macros - ITEM.NAME and ITEM.LASTVALUE to help simplify the "Overview" section.

    I have created a Trigger named "Databases" and then 'OR' the trigger items for each database I need to monitor.

    Example Trigger:
    ({isu01:zostat[checkactive,csp].last(0)}=0)|({isu01:zostat[checkactive,awp].last(0)}=0)|({isu01:zostat[checkactive,rcp].last(0)}=0)|({isu01:zostat[checkactive,utp].last(0)}=0)

    The trigger items seem to be working just fine, but when using the ITEM.NAME and ITEM.LASTVALUE for email alerts it always reports the same database regardless of which trigger item caused the status change.

    Example Action:
    (A) Host group = "Oracle production servers"
    (B) Trigger description like "Databases"

    Example Message:
    TIME: {DATE} {TIME}
    HOST: {HOSTNAME}
    ALERT: {ITEM.NAME} = {ITEM.LASTVALUE}

    Regardless of which database goes down the "{ITEM.NAME}" macro in my emails always associates it with the awp database.

    I'm not sure if I misunderstood those macros or if I ran across a bug. The documentation claims that it should be using the first item that *caused* the notification.

    I'm running version 1.4.4 compiled with Sun Studio 11 on Solaris 10.
    Last edited by traq911; 16-01-2008, 17:27. Reason: More clarification - no one is responding!?
Working...