WIP: tweaks to agent metrics

# cpu metrics

    [
        {
            "timestamp": 1345494362238,
            "available": true,
            "status": "",
            "metrics": {
                "user_percent_average": {
                    "data": "1.6501568994324",
                    "type": "n"
                },
                "min_cpu_usage_name": {
                    "data": "cpu5",
                    "type": "s"
                },
                "usage_average": {
                    "data": "4.5509188012848",
                    "type": "n"
                },
                "wait_percent_average": {
                    "data": "0",
                    "type": "l"
                },
                "sys_percent_average": {
                    "data": "2.9007619018524",
                    "type": "n"
                },
                "min_cpu_usage": {
                    "data": "0",
                    "type": "l"
                },
                "max_cpu_usage_name": {
                    "data": "cpu0",
                    "type": "s"
                },
                "stolen_percent_average": {
                    "data": "0",
                    "type": "l"
                },
                "max_cpu_usage": {
                    "data": "13.627254509018",
                    "type": "n"
                },
                "idle_percent_average": {
                    "data": "95.449081198715",
                    "type": "n"
                },
                "irq_percent_average": {
                    "data": "0",
                    "type": "l"
                }
            }
        }
    ]

# memory metrics

    [
        {
            "timestamp": 1345478714033,
            "available": true,
            "status": "",
            "metrics": {
                "used_percent": {
                    "data": "76.141977310181",
                    "type": "n"
                },
                "actual_used": {
                    "data": "434870968392",
                    "type": "l"
                },
                "total": {
                    "data": "573538780562",
                    "type": "l"
                },
                "free": {
                    "data": "961099314",
                    "type": "l"
                },
                "ram": {
                    "data": "33170",
                    "type": "l"
                },
                "free_percent": {
                    "data": "23.858022689819",
                    "type": "n"
                },
                "actual_free": {
                    "data": "138667394372",
                    "type": "l"
                },
                "used": {
                    "data": "572577286496",
                    "type": "l"
                }
            }
        }
    ]

# disk metrics


    [
        {
            "timestamp": 1345835484000,
            "available": true,
            "status": "",
            "metrics": {
                "/.snaptime": {
                    "data": "0",
                    "type": "l"
                },
                "/.read_bytes": {
                    "data": "516087480616",
                    "type": "l"
                },
                "/.service_time": {
                    "data": "4294967295",
                    "type": "l"
                },
                "/.writes": {
                    "data": "2381074",
                    "type": "l"
                },
                "/.qtime": {
                    "data": "0",
                    "type": "l"
                },
                "/.rtime": {
                    "data": "21549329961520",
                    "type": "l"
                },
                "/.write_bytes": {
                    "data": "1590748861778",
                    "type": "l"
                },
                "/.wtime": {
                    "data": "37424621626150",
                    "type": "l"
                },
                "/.time": {
                    "data": "59413749921110",
                    "type": "l"
                },
                "/.queue": {
                    "data": "4294967295",
                    "type": "l"
                },
                "/.reads": {
                    "data": "3494917",
                    "type": "l"
                }
            }
        }
    ]


# network metrics


    [
        {
            "timestamp": 1345044093508,
            "available": true,
            "status": "",
            "metrics": {
                "en0.tx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "en0.tx_collisions": {
                    "data": "0",
                    "type": "l"
                },
                "en0.rx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "en0.speed": {
                    "data": "268435456",
                    "type": "l"
                },
                "en0.rx_packets": {
                    "data": "74716707",
                    "type": "l"
                },
                "en0.tx_bytes": {
                    "data": "31275447065",
                    "type": "l"
                },
                "en0.tx_packets": {
                    "data": "50665364",
                    "type": "l"
                },
                "en0.rx_dropped": {
                    "data": "0",
                    "type": "l"
                },
                "en0.rx_bytes": {
                    "data": "275283846264",
                    "type": "l"
                },
                "p2p0.tx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "p2p0.tx_collisions": {
                    "data": "0",
                    "type": "l"
                },
                "p2p0.rx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "p2p0.speed": {
                    "data": "268435456",
                    "type": "l"
                },
                "p2p0.rx_packets": {
                    "data": "0",
                    "type": "l"
                },
                "p2p0.tx_bytes": {
                    "data": "0",
                    "type": "l"
                },
                "p2p0.tx_packets": {
                    "data": "0",
                    "type": "l"
                },
                "p2p0.rx_dropped": {
                    "data": "0",
                    "type": "l"
                },
                "p2p0.rx_bytes": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.tx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.tx_collisions": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.rx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.speed": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.rx_packets": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.tx_bytes": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.tx_packets": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.rx_dropped": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet1.rx_bytes": {
                    "data": "0",
                    "type": "l"
                },
                "lo0.tx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "lo0.tx_collisions": {
                    "data": "0",
                    "type": "l"
                },
                "lo0.rx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "lo0.speed": {
                    "data": "0",
                    "type": "l"
                },
                "lo0.rx_packets": {
                    "data": "2473022211",
                    "type": "l"
                },
                "lo0.tx_bytes": {
                    "data": "281074110838",
                    "type": "l"
                },
                "lo0.tx_packets": {
                    "data": "2473022211",
                    "type": "l"
                },
                "lo0.rx_dropped": {
                    "data": "0",
                    "type": "l"
                },
                "lo0.rx_bytes": {
                    "data": "281074110838",
                    "type": "l"
                },
                "vmnet8.tx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet8.tx_collisions": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet8.rx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet8.speed": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet8.rx_packets": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet8.tx_bytes": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet8.tx_packets": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet8.rx_dropped": {
                    "data": "0",
                    "type": "l"
                },
                "vmnet8.rx_bytes": {
                    "data": "0",
                    "type": "l"
                },
                "en1.tx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "en1.tx_collisions": {
                    "data": "0",
                    "type": "l"
                },
                "en1.rx_errors": {
                    "data": "0",
                    "type": "l"
                },
                "en1.speed": {
                    "data": "268435456",
                    "type": "l"
                },
                "en1.rx_packets": {
                    "data": "294029074",
                    "type": "l"
                },
                "en1.tx_bytes": {
                    "data": "31174453351",
                    "type": "l"
                },
                "en1.tx_packets": {
                    "data": "104081234",
                    "type": "l"
                },
                "en1.rx_dropped": {
                    "data": "0",
                    "type": "l"
                },
                "en1.rx_bytes": {
                    "data": "211015645586",
                    "type": "l"
                }
            }
        }
    ]