Ad Widget

Collapse

feature request: macro for 'friendly' value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mconigliaro
    Senior Member
    • Jun 2005
    • 116

    #1

    feature request: macro for 'friendly' value

    im currently displaying the last value in my actions with a macro like this:

    {{HOSTNAME}:{TRIGGER.KEY}.last(0)}

    this works fine for items where the raw value is human-readable (eg: cpu utilization), but its not so nice for items like service_state, ping, and status, where the raw value doesnt make any sense to the average person. the same goes for many snmp values.

    i think it would be really nice if we had a way to display a 'friendly' value for these types of items. for example, instead of returning a raw value of '2' for the 'ping' item, we might return the string 'unreachable' instead.

    i imagine this could be implemented fairly easily by adding an additional database table for the translations.
  • YuriV
    Junior Member
    • Feb 2006
    • 16

    #2
    Yes please, i second this request.

    I dont much like my triggers being "on" and "off" when they are really reachable and unreachable....

    Comment

    • YuriV
      Junior Member
      • Feb 2006
      • 16

      #3
      As well the addition of "IF" statements would be VERY useful.

      In fact the removal of triggers and actions in lieu if then type alarms would provide some additional functionality that i think is lacking in the triggers.

      I say this because i currently have to write two triggers. one for a host being down and one for a host being up. Because essentially i cant discern which is which on a state change sometimes.

      Comment

      Working...