nav icon indicating copy to clipboard operation
nav copied to clipboard

Post event when device disappears from a netbox

Open lunkwill42 opened this issue 2 years ago • 4 comments

  • [x] #2982
  • [x] #2983

lunkwill42 avatar Apr 29 '22 10:04 lunkwill42

In reality, this is two events:

  1. Device was removed from a netbox
  2. Device appeared on another netbox

lunkwill42 avatar May 05 '22 12:05 lunkwill42

In reality, this is two events:

1. Device was removed from a netbox

2. Device appeared on another netbox

Changed the wording of this issue. We are already working on number 2, so this issue is really about number 1: Notify when devices are removed.

lunkwill42 avatar Jun 10 '22 07:06 lunkwill42

some alerts for reporting that a device has disappeared already exist, like chassisDown and moduleDown alerts. These are meant for devices suddenly going missing, but I dont know how to differentiate between a device randomly dying and a device being purposefully removed from the netbox.

PR #2414 adds alerts when a Chassis, Module or PowersupplyOrFan pops up on a netbox, To compliment that here only events for PowersupplyOrFan devices disappearing are missing. But PowersupplyOrFan are a little different, as they have no UP and DOWN states like chassis and modules have, they simply get deleted if they are found to be missing. So new events called psuDeleted and fanDeleted or something might cover this.

My questions:

  • do the already existing chassisDown and moduleDown cover chassis and modules already? Or should some new alerts be created that behave differently?
  • Are there any events other than chassis, modules and Psu/fans dissapearing that should be covered by this issue?

stveit avatar Dec 01 '22 08:12 stveit