Compare commits

..

2 Commits

Author SHA1 Message Date
9035396156 Allow filtering by domain 2024-12-19 18:54:44 -05:00
d83831620a Make device-class not required 2024-12-19 18:54:44 -05:00

View File

@ -143,7 +143,7 @@ class Entities(nagiosplugin.Resource):
name, name,
value, value,
uom, uom,
context=self.device_class, context="scalar_entities" if self.numeric else "text_entities",
min=self.min, min=self.min,
max=self.max, max=self.max,
) )