Monitoring or diagnostic devices for exhaust-gas treatment apparatus