Ad Widget

Collapse

Auto-disable discovered hosts after specific time offline

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BlueBull
    Junior Member
    • Sep 2020
    • 25

    #1

    Auto-disable discovered hosts after specific time offline

    Hello

    We have implemented network discovery with simple ICMP checks a while ago. That is working properly, hosts are being found and are added as needed. However we would like to have hosts disabled (not removed) after 14 days of being offline and I can't get this to work while information found online states that this should be possible. Could someone please help evaluate my rules, conditions and actions? I will list them all to provide as complete information as possible

    Discovery rule (working)

    Ip range: 10.0.11.10-199
    Checks: ICMP ping
    Device uniqueness criteria: IP address
    Host name: IP address
    Visible name: DNS name

    Discovery conditions and operations (working)

    Conditions

    A and B and C
    A Discovery rule equals Discovery rule
    B Discovery status equals Up
    C Host IP equals 10.0.11.10-199
    Actions
    Add host
    Add to host groups
    Link to templates

    Auto-remove conditions and operations (not working)

    Conditions

    A and (B or C) and D
    A Uptime/Downtime is greater than or equals 1209600
    B Discovery status equals Lost
    C Discovery status equals Down
    D Discovery check equals Discovery rule
    (I have tried to use "Discovery rule equals" in stead of "Discovery check equals", same result. What is the difference by the way?)

    Actions
    Send message to users
    Disable host
    Action log shows nothing

    Any help would be much appreciated!

    Cheers
Working...