I have a rule:
%devices.type = “Power” && %sensors.sensor_class = “voltage” && %sensors.sensor_current > “sensors.sensor_limit”
This creates an alert for every device that is “power” regardless of the voltage and or sensor_current vs. sensor_limit.
I feel like this should only alert if the device is type “Power”, and the “sensor_class = voltage” and “sensors_current > sensor_limit”.
Am I doing this wrong? I’ve read the docs on alerting a lot, and I’m feeling like something is not working as intended.
I’m updated to the latest code base. Validate passes etc.
Anyone has a suggestion I’d grateful, I’ve spent far to much time trying to create this alert.
Thanks!
J