Pie result is based on number of monitors down and up . What i want is to show on basis of monitors downtime and uptime duration not howm many were down and up monitorss . any idea

I think what you'd want is to sum the monitor.duration fields. Note that this may be inaccurate if you have multiple monitors in multiple locations since those get counted twice. Also, if you're using mode: all a similar problem may occur because each IP will be counted twice.