Monitoring H2S in waste water treatment