Ad Widget

Collapse

User Parameter not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ambersingh
    Junior Member
    • Sep 2020
    • 1

    #1

    User Parameter not working

    Hi I have written a shel script which will check the status of CDB and returns 0 and 1 I use that script in user parameter and send 0 and 1
    /data01/AUTOACTION/bin/check_DB_Instance.sh > /dev/null 2>&1 && echo 1 || echo it is retutning 1 as output but the trigger I amusing remain ok {BUILD-ORACLE-DB-63-123:instance.check.last()}>1 nut I believe I shout be ({BUILD-ORACLE-DB-63-123:instance.check.last()}=1) but when I make it =1 it start going in problem state
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    If the item gets the value 1, the trigger condition x>1 returns false => the trigger is not fired.
    If you change the condition to x=1, the trigger will fired and in problem state. It's alright.
    It is not clear what system behavior you expect?

    Comment

    Working...