[ZBXNEXT-5064] Run an action only upon the first discovery irrespective of the host existence Created: 2019 Feb 21  Updated: 2019 Feb 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Kaspars Mednis Assignee: Andris Zeila
Resolution: Unresolved Votes: 1
Labels: networkdiscovery
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Create an event that fires, a condition that matches or some other solution to run an action only upon the first discovery irrespective of the host existence

Usecase - it would be useful to send an email when a new device is discovered, but currently that device temporarily going down will result in the next "up" cycle also counting as "discovered". This makes such notifications too noisy and not useful.

ZBXNEXT-306 is a little different, because it talks about ability to skip already existing hosts in network discovery actions.



 Comments   
Comment by Vladislavs Sokurenko [ 2019 Feb 21 ]

Have you tried Discovered condition?

Comment by Kaspars Mednis [ 2019 Feb 21 ]

Discovered condition as far as i know is every time when host comes up....

from documentation :

Host Discovered At least one service of a host is 'up' after all services of that host were 'down'.
Service Discovered The service is 'up' after it was 'down' or when discovered for the first time.
Generated at Fri Apr 19 21:09:32 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.