Needs review
Project:
Monitoring
Version:
8.x-1.x-dev
Component:
Sensors
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2020 at 11:58 UTC
Updated:
2 Mar 2026 at 13:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jelle_sComment #3
jelle_sAlternatively, we could make the mapping of the
REQUIREMENT_*constants toSensorResultInterface::STATUS_*configurable on the sensor, but I'm not sure if that is desired?Comment #4
berdirI'd prefer to keep them as info because I don't really consider it a warning that we need to see in our monitoring infrastructure. So it would need to be configurable then..
Comment #5
berdirThat said, a single checkbox as setting for this specific case might be enough and we don't need full-blown status mapping UI.
Comment #6
jelle_sNew patch attached.
Comment #7
jelle_sOops, IDE was a bit enthusiastic adding a method return type.
Comment #8
berdirWe need to document this setting in the config schema in monitoring.schema.yml. Also now that we have this UI, we need to make sure that we don't break the type configuration setting which is currently there as a non-configurable setting.
Comment #11
jonasanne commentedI converted Jelle his changes into a MR and added the change in monitoring.schema.yml.
Also uploaded the diff of the MR as patch here.
Comment #12
jonasanne commentedComment #13
jonasanne commentedDoes anything needs to be done for this ticket?
Comment #14
jonasanne commentedRebase MR & added diff to use as patch