I have written a hub on this. There are several types of rain gauges available to record, transmit, and measure rainfall amounts. Most government agencies use a gauge called a "tipping bucket gauge" to automatically record and report rainfall amounts. These machines are very accurate and require little maintenance. Precipitation can also be measure using weather radar but it typically has to be calibrated first.