Monitoring water chemistry