Ad Widget

Collapse

Discovery actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jkjkrules
    Junior Member
    • Jul 2020
    • 8

    #1

    Discovery actions

    I have a discovery rule checking SNMPv2 agent ".1.3.6.1.2.1.1.1.0" and SNMPv2 agent ".1.3.6.1.2.1.1.5.0" for a list of ips and I'm trying to setup actions to add host, template and host group. I tried a bunch of way now I was trying two actions
    1
    A and (B and C)
    Discovery check equals MIkrotik ap2: SNMPv2 agent ".1.3.6.1.2.1.1.1.0"
    Discovery rule equals MIkrotik ap2
    Received value contains RouterOS
    Operation
    add host

    2
    A and (B and (C and D and E and F and G))
    Discovery check equals MIkrotik ap2: SNMPv2 agent ".1.3.6.1.2.1.1.5.0"
    Discovery rule equals MIkrotik ap2
    Received value does not contain s2
    Received value does not contain s1
    Received value does not contain r2
    Received value does not contain :
    Received value does not contain r1

    operation
    add to host group
    link to template

    I tried some other combinations but can't figure it out it just keeps adding everything.
  • jkjkrules
    Junior Member
    • Jul 2020
    • 8

    #2
    also tried

    A and ((B and C) and (D and (E and F and G and H and I)))
    A Discovery rule equals MIkrotik ap2
    B Discovery check equals MIkrotik ap2: SNMPv2 agent ".1.3.6.1.2.1.1.1.0"
    C Received value contains RouterOS
    D Discovery check equals MIkrotik ap2: SNMPv2 agent ".1.3.6.1.2.1.1.5.0"
    E Received value does not contain s2
    F Received value does not contain s1
    G Received value does not contain r2
    H Received value does not contain r1
    I Received value does not contain :

    nothing was added

    Comment

    Working...