[//]: # (werk v2)
# raritan_pdu_plugs.py: respect user defined parameters
key | value
---------- | ---
date | 2024-10-09T14:49:53+00:00
version | 2.3.0p19
class | fix
edition | cre
component | checks
level | 1
compatible | yes
Currently, the check disregards the custom parameters set by the user, always returning
the state
defined by the SNMP mapping. With this change, the service now compares the current state
with the
required state defined by the user in the check parameters. If there is a mismatch, a
"CRIT" result
will be yielded, comparing the actual and expected plug state. Otherwise, an
"OK" result will be
yielded with the plug state.
Note: if these parameters are not explicitly set for your service, the service will
compare the
current state with the state set during service discovery. If you do have configured
parameters,
there are no changes needed for this fix.