Fix zpool capacity alert module and make it more error prone

Ticket:	#7182