call rpc for resource alarm