thewatchman icon indicating copy to clipboard operation
thewatchman copied to clipboard

Added or removed entities, unavailable or unknown entities

Open mwolter805 opened this issue 2 years ago • 1 comments

Hello, Thanks for the great integration! Hopefully, the core developers see its utility and work with you to add this functionality natively!

I've set up thewatchman to send an email nightly if there are any missing entities or services. Would also be handy to be able to receive an email for entities added or removed since the last notification as well as entities that are unknown or unavailable.

Thanks again!

mwolter805 avatar Apr 20 '22 02:04 mwolter805

Hey @mwolter805, keeping report history will require significant changes to the integration's architecture, I will consider this as a future improvement. In the meantime, I believe, this can be automated without watchman. Just an idea, not tested:

  1. Rename the last report so that it is not overwritten by the new report
  2. Create the new report
  3. Run a command line file comparison tool which could create a .diff file between two versions of the report
  4. Send the .diff file via email

dummylabs avatar Apr 21 '22 16:04 dummylabs