Raidstatus monitors the redundancy or the RAID status of one or more aggregates. It is important to make sure that the patterns viewed as OK are as accurate as possible.
An example for an OK pattern is the raid_dp status, not OK would be raid_dp, degraded.
However, the following configuration
--ok_state=raid_dp is wrong, since the pattern raid_dp would also apply for raid_dp, degraded (the string raid_dp, degraded contains the pattern raid_dp).
The correct configuration is: –ok_state=^raid_dp$