Ad Widget

Collapse

Feature request: macros in dashboard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mvrk
    Member
    • Oct 2008
    • 71

    #1

    Feature request: macros in dashboard

    Hi,

    I would like to know if it is possible to add macro support in dashboard when a trigger shows up.

    I defined a trigger called "CPU utilization too high ({{HOSTNAME}:{TRIGGER.KEY}.last(0)})

    In the triggers screen the value apears:

    CPU utilization too high (99%)

    but in the dashboard shows up like:

    CPU utilization too high ()
  • skullone
    Member
    • Mar 2007
    • 46

    #2
    What version? I'm running 1.6.2, and using the {ITEM.LASTVALUE} macro, it shows up in the dashboard appropriately.

    Let me know if that helps

    Comment

    • n0name
      Junior Member
      • Jul 2008
      • 11

      #3
      {ITEM.LASTVALUE} show value of first item in trigger expression.

      If you want use more then one value, you can use something like this:
      {HOSTNAME}.key.last(0).

      For Example CPU User utilization:
      {HOSTNAME}.system.cpu.util[,user,avg1].last(0)

      May be, it helps.

      Comment

      Working...