Ad Widget

Collapse

I need help with triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aigo15108
    Junior Member
    • Oct 2019
    • 17

    #1

    I need help with triggers

    Although there is a page in the documentation with many examples, I am still struggling with the whole concept of trigger flags and switches. For example, I have a self-made test script, say it returns some float between 0.0 and 0.5. The trigger should pick up the value between 0.1 and 0.3.

    {SOMEHOST:check.process_CPU_java.last()}>0 and {SOMEHOST:check.process_CPU_java.last()}<0.3

    Yet it tells me this function is not supported - which function is it and what does it support?

    Another one, here some script should return True or False, yet it is unsupported again

    {SOMEHOST:check.random_state_one.str(False)}=1

    Any good hint or advice is appreciated.
    thanks in advance,
    Last edited by aigo15108; 29-10-2019, 14:54.
Working...