plugin pgsql and mdadm states