Ad Widget

Collapse

Actions and conditions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cerasus
    Junior Member
    • Mar 2020
    • 24

    #1

    Actions and conditions

    Hi,

    Suppose I have a discovery rule that:
    • Gets model number via SNMP
    • Gets system.uname via the agent
    Suppose I now want to create an action with the following condition:

    Received value contains X456
    AND

    Received value contains Linux

    Will that work? It seems that Zabbix may compare the first received value (let's say from the SNMP command) with Linux, which will not match. And then the whole condition will fail?

    I see this in the documention: https://www.zabbix.com/documentation...ion/conditions

    Service checks in a discovery rule, which result in discovery events, do not take place simultaneously. Therefore, if multiple values are configured for Service type, Service port or Received value conditions in the action, they will be compared to one discovery event at a time, but not to several events simultaneously. As a result, actions with multiple values for the same check types may not be executed correctly.
    Is there a reliable way to do the above two conditions?
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Understand when and why "events" occur . What is the source \ cause.
    And keep in mind that each event is independent of the other.

    Comment

    • cerasus
      Junior Member
      • Mar 2020
      • 24

      #3
      Can you be a little more specific?

      Comment


      • Hamardaban
        Hamardaban commented
        Editing a comment
        You got it right. the problem is not solved in this way.
    Working...