Ad Widget

Collapse

How to adjust the item.lastvalue in action operation for trigger nodata ()?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cesarsj
    Senior Member
    • Dec 2018
    • 154

    #1

    How to adjust the item.lastvalue in action operation for trigger nodata ()?

    The problem is: for PROBLEM (operation) and OK (recovery problem), the ITEM.LASVALUE is equal: Up (1). For PROBLEM, should be Down(1), and Recovery Up (0).

    Default message:

    {EVENT.NAME}: {STATUS}
    {ITEM.LASTVALUE}
    {EVENT.TIME}
    {HOSTNAME}

    Item:
    Name: Ping to the server (TCP)
    Key: agent.ping
    Update interval: 30s

    Trigger:
    {HOSTNAME:agent.ping.nodata(1m)}=1
    Last edited by cesarsj; 26-01-2019, 07:02.
Working...