Ad Widget

Collapse

I need to give a calculated value on the dashboard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frater
    Senior Member
    • Oct 2010
    • 340

    #1

    I need to give a calculated value on the dashboard

    For years I have the desperate need to show the calculated value of a trigger on my dashboard. I've waited for this feature to come, but it somehow doesn't. Is there no need or am I missing something...?

    I now show on my dashboard:
    Code:
    More than 50 lame clients (64 leases - 6 active clients)
    That line is in a template trigger

    Code:
    More than $1 lame clients ({ITEM.LASTVALUE1} leases - {ITEM.LASTVALUE2} active clients)
    I prefer to show
    Code:
    58 lame clients (>50)
    The trigger expression I'm using is this:
    Code:
    {Template_Freetz:net.leases.last()}-{Template_Freetz:net.arpcount.last()}>50
    Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    If I were in your shoes, I will create one more Calculated Item to count
    Code:
    {Template_Freetz:net.leases.last()}-{Template_Freetz:net.arpcount.last()}
    and then create a trigger, based on Calculated Item
    Sincerely yours,
    Aleksey

    Comment

    Working...