Ad Widget

Collapse

Trigger doesn't work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarcoUK
    Junior Member
    • Oct 2021
    • 26

    #1

    Trigger doesn't work

    Hi,
    I need to create a trigger to check how many running for a specific process (myprocess)

    I created this item:
    Name: myprocess Process Count
    Type: SNMP agent
    Key: snmp_proc_myprocess
    SNMP OID: UCD-SNMP-MIB::rCount["index", "UCD-SNMP-MIB::rNames", "myprocess"]
    Type of information: numeric (unsigned)

    If I click on test I receive 1 as result (only 1 instance is running for myprocess)
    And I created this trigger:
    Name: Test Trigger
    Expression: (({servers:snmp_proc_myprocess.last()}) >= 1) and (({servers:snmp_proc_myprocess.last()}) <= 10)

    But I receive a PROBLEM if my process is 1.

    Where am I wrong?
  • niveastn
    Member
    • Oct 2021
    • 82

    #2
    Hey there
    In you trigger expression you state >= 1, so it will alert, since it is =1, that is, within the range you configured.
    Try >1 or >=2 as first condition
    Last edited by niveastn; 01-11-2021, 21:34.

    Comment

    Working...