We shall fix some issues with extant Netbox reports:
- Figure out a clean way to omit the single KVM device we have from the PuppetDB report
- Probably drop warnings from PuppetDB report
- Blacklist sites esams and knams (for now) from Coherence reports
- Blacklist certain roles (at least Cable management, Storage bin, Optical device; possible others) from serial number checks
- Add check for devices with Status: Offline, that have row/rack assigned
- Add check for devices with Status not in (Offline, Planned) but with no row/rack assigned (Update: there are 43 devices that are Status: Inventory but clearly in storage; not sure how we want to handle this right now)
- Make asset tag and task checking needs a bit smarter (e.g. catch cases like ticket: T2). Should probably check for WMF\d{4,} and T\d{5,} or something.
- Change log_info and log lines to log_success if they are infact successes so we can have some nice green lines even if they are summaries.
- Message improvements (inconsistent trailing period, missing purchase date" vs. "serial missing" vs. "bad procurement ticket: None", s/bad/malformed/ etc.)
- Add a PuppetDB sub-report that checks the device type vs. the productname fact. Same for manufacturer but that has extra gotchas (Dell's is self-reported "Dell Inc."; HP was renamed to "HPE" at some point).
- Filter out ADMIN_down Ganeti VMs from the PuppetDB report.
The plan is to enable an alert for these reports once we get them to only error on actual errors.