Python plugin code for Ceilometer to send samples to mon