Python carries on healthy value groupby to json

    {
    "vfs.fs.inode./.pfree": 91.0349, 
    "zabbix.process.alertmanager.avg.busy": 0.0339, 
    "agent.ping": 1, 
    "agent.version": "3.4.1", 
    "zabbix.process.vmwarecollector.avg.busy": 0, 
    "vfs.fs.inode./home.pfree": 99.9816, 
    "zabbix.process.configurationsyncer.avg.busy": 0.0169, 
    "system.swap.size.pfree": 100.0, 
    "system.boottime": 1524711871, 
    "zabbix.process.httppoller.avg.busy": 0.0, 
    "system.cpu.util.interrupt": 0.0, 
    "zabbix.process.housekeeper.avg.busy": 0.0, 
    "system.cpu.util.system": 0.0604, 
    "zabbix.process.trapper.avg.busy": 0.0, 
    "system.swap.size.total": 8413769728, 
    "zabbix.process.escalator.avg.busy": 0.0517, 
    "zabbix.vmware.buffer.pfree": 0, 
    "vfs.fs.size./.total": 52710469632, 
    "system.cpu.util.steal": 0.0, 
    "zabbix.queue": 0, 
    "vfs.file.cksum./etc/passwd": 466478765, 
    "kernel.maxfiles": 1616560, 
    "zabbix.wcache.history.pfree": 100.0, 
    "system.cpu.util.user": 0.1938, 
    "zabbix.vcache.cache.hits": 5.73, 
    "zabbix.process.icmppinger.avg.busy": 0.0, 
    "system.cpu.util.softirq": 0.0, 
    "zabbix.vcache.buffer.pfree": 99.4336, 
    "zabbix.process.timer.avg.busy": 0.0, 
    "system.cpu.load.percpu.avg15": 0.03, 
    "kernel.maxproc": 32768, 
    "zabbix.vcache.cache.mode": 0, 
    "system.cpu.util.idle": 99.2747, 
    "checknet.eth0": 0, 
    "system.uptime": 971642, 
    "vfs.fs.size./boot.used": 54663168, 
    "system.cpu.load.percpu.avg1": 0.0338, 
    "system.cpu.load.percpu.avg5": 0.04, 
    "zabbix.process.unreachablepoller.avg.busy": 0.0008, 
    "zabbix.process.preprocessingworker.avg.busy": 0.0, 
    "zabbix.wcache.trend.pfree": 99.9968, 
    "zabbix.process.poller.avg.busy": 0.0474, 
    "zabbix.process.ipmimanager.avg.busy": 0, 
    "zabbix.process.snmptrapper.avg.busy": 0, 
    "vfs.fs.size./.pfree": 30.3541, 
    "vfs.fs.size./home.free": 811816730624, 
    "zabbix.process.taskmanager.avg.busy": 0.0, 
    "zabbix.rcache.buffer.pfree": 99.9307, 
    "system.users.num": 1, 
    "zabbix.process.self-monitoring.avg.busy": 0.0, 
    "zabbix.process.proxypoller.avg.busy": 0.0, 
    "vfs.fs.size./.used": 34841145344, 
    "vfs.fs.inode./boot.pfree": 99.9641, 
    "system.swap.size.free": 8413769728, 
    "agent.hostname": "Zabbix server", 
    "vfs.fs.size./home.pfree": 92.6904, 
    "proc.num.run": 1, 
    "zabbix.process.historysyncer.avg.busy": 0.8096, 
    "system.cpu.intr": 292, 
    "zabbix.process.alerter.avg.busy": 0.0, 
    "vm.memory.size.available": 15576801280, 
    "vm.memory.size.total": 16821919744, 
    "system.cpu.util.iowait": 0.469, 
    "vfs.fs.size./boot.free": 418478080, 
    "zabbix.wcache.values": 2.2986, 
    "system.cpu.util.nice": 0.0, 
    "vfs.fs.size./home.total": 922714652672, 
    "net.if.out.eth0": 14696, 
    "net.if.out.eth1": 0, 
    "vfs.fs.size./boot.total": 499355648, 
    "zabbix.wcache.index.pfree": 99.9983, 
    "system.hostname": "zabbix", 
    "system.cpu.switches": 420, 
    "net.if.in.eth0": 8096, 
    "net.if.in.eth1": 0, 
    "proc.num": 301, 
    "zabbix.queue.10m": 0, 
    "system.uname": "Linux zabbix 2.6.32-696.16.1.el6.x86_64 -sharp1 SMP Wed Nov 15 16:51:15 UTC 2017 x86_64", 
    "vfs.fs.size./home.used": 64019865600, 
    "vfs.fs.size./boot.pfree": 88.4468, 
    "zabbix.process.javapoller.avg.busy": 0, 
    "system.localtime": 1525683988, 
    "vfs.fs.size./.free": 15184969728, 
    "zabbix.process.preprocessingmanager.avg.busy": 0.0, 
    "zabbix.process.discoverer.avg.busy": 9.999, 
    "zabbix.vcache.cache.misses": 0.0, 
    "zabbix.process.ipmipoller.avg.busy": 0
}

how to convert the above data into something like:

{
    "vfs": {
        "fs": {
            "inode": [{
                    "fs": "/home",
                    "pfree": 99.9816
                },
                {
                    "fs": "/boot",
                    "pfree": 99.9641
                },
                {
                    "fs": "/",
                    "pfree": 91.0349
                }
            ]
        }
    }
}
Mar.10,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36a08-2b87f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36a08-2b87f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?