Ad Widget

Collapse

Item's Value for input of an other Item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikty
    Senior Member
    • Jul 2007
    • 104

    #1

    Item's Value for input of an other Item

    Hi, forum.

    Can I use the item's value as input for an other item?

    I remenber that isn't possible....
    is there a workaround?
  • vikty
    Senior Member
    • Jul 2007
    • 104

    #2
    Little workaround

    I have thougth this:

    Items---> Trigger--->Action
    Action is the only "Object" that can manage variables:
    Host: echo {testmachine:item.ket.last(0)} > file.txt.

    Now is an only example, I want pass {testmachine:item.ket.last(0)} in a sql query
    and insert the result in a file.
    After an other item read the file and send an alert to the my condition.

    well but, can I insert different command in the same action?
    Code:
    Hostname: command1
    Hostname: command2

    Comment

    Working...