bug #2544: Use REPLACE to insert monitoring values