Sorry
Adam, I put the conditions and associations in words it the beginning
of my email. Here's a screen shot:
<association-ruleset.png>
It's not really clear what the problem is,
since the screenshots don't actually show anything wrong, and you've not
screenshotted the actual alert associations, which would be the
important part.
I have no idea what device the top screenshot is referring to, since
it's not included and you've not said.
adam.
David Milton via observium wrote on 2024-03-17 20:47:
Hello,
I'm attempting to create an alert checker for our router and switch power supplies. I seem to be part way there but am seeing some unexpected behaviour that I cannot explain.
I started with the test condition:
sensor_event notequals ok
and the associations are "or:"
Sensor Description match PEM*
Sensor Description match Power Supply 0 @*
Sensor Description match Power Supply 1 @*
Here's a specific device inventory showing PEM 0 status is currently down:
It seems the last two associations don't mach anything and for some reason the PEM* association only matches the power supplies that are ok, not the one I want the alert for which is currently down. I've tried to match against "Power Supply" and that matches power supplies in my servers but they don't seem to have a status, more like a current sensor instead. I'm attempting to deal strictly with the power supplies in our Juniper routers and switches and from what I can tell they all have a status/sensor_event state.
I think the two "Power Supply 0 @*" associations should also match additional power supplies as shown in the list below taken from the hardware inventory and filtering for a description of Power Supply:
Clearly I'm missing something en the alert checker associations but I'll be darned if I can figure out what that is. I've tried to match on MIB as well but nothing seems to match those power supplies.
What am I missing here?
Thanks,
Dave.
_______________________________________________
observium mailing list -- observium@lists.observium.org
To unsubscribe send an email to observium-leave@lists.observium.org
_______________________________________________
observium mailing
list --
observium@lists.observium.orgTo unsubscribe send an email to
observium-leave@lists.observium.org