Payload Examples

Discovery Example

{
    "agent_version": "0.1.0",
    "collected_at": "2026-03-07T10:30:00Z",
    "identity": {
        "hostname": "web-prod-01",
        "fqdn": "web-prod-01.example.com",
        "os_distro": "debian",
        "os_version": "12.5",
        "kernel_version": "6.1.0-18-amd64",
        "arch": "amd64",
        "uptime_seconds": 8640000,
        "virt_hint": "",
        "bare_metal_hint": true,
        "has_systemd": true,
        "init_system_hint": "systemd"
    },
    "hardware": {
        "cpu_count": 16,
        "cpu_model": "Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz",
        "memory_mb": 65536,
        "swap_mb": 8192
    },
    "mounts": [
        {
            "device": "\/dev\/sda1",
            "mount_point": "\/",
            "fstype": "ext4",
            "size_bytes": 107374182400,
            "used_bytes": 32212254720,
            "used_pct": 30,
            "free_bytes": 75161927680,
            "inode_total": 6553600,
            "inode_used": 245000,
            "inode_pct": 3.7,
            "mount_class": "local"
        },
        {
            "device": "\/dev\/sdb1",
            "mount_point": "\/data",
            "fstype": "ext4",
            "size_bytes": 1099511627776,
            "used_bytes": 659706976666,
            "used_pct": 60,
            "free_bytes": 439804651110,
            "inode_total": 65536000,
            "inode_used": 1200000,
            "inode_pct": 1.8,
            "mount_class": "local"
        },
        {
            "device": "tmpfs",
            "mount_point": "\/tmp",
            "fstype": "tmpfs",
            "size_bytes": 33554432,
            "used_bytes": 1048576,
            "used_pct": 3.1,
            "free_bytes": 32505856,
            "mount_class": "tmpfs"
        }
    ],
    "services": [
        {
            "name": "nginx",
            "type": "systemd",
            "active_state": "active",
            "sub_state": "running",
            "enabled": true
        },
        {
            "name": "mysql",
            "type": "systemd",
            "active_state": "active",
            "sub_state": "running",
            "enabled": true
        },
        {
            "name": "php8.2-fpm",
            "type": "systemd",
            "active_state": "active",
            "sub_state": "running",
            "enabled": true
        }
    ],
    "listen_ports": [
        {
            "port": 80,
            "proto": "tcp",
            "process": "nginx",
            "address": "0.0.0.0"
        },
        {
            "port": 443,
            "proto": "tcp",
            "process": "nginx",
            "address": "0.0.0.0"
        },
        {
            "port": 3306,
            "proto": "tcp",
            "process": "mysqld",
            "address": "127.0.0.1"
        }
    ],
    "capabilities": [
        {
            "name": "smartctl",
            "present": true,
            "usable": true,
            "path": "\/usr\/sbin\/smartctl"
        },
        {
            "name": "mdadm",
            "present": false,
            "usable": false
        },
        {
            "name": "docker",
            "present": false,
            "usable": false
        },
        {
            "name": "zpool",
            "present": false,
            "usable": false
        }
    ],
    "health_hints": {
        "oom_detected": false,
        "fs_io_errors": false,
        "load_avg_1": 1.2,
        "load_avg_5": 0.8,
        "load_avg_15": 0.6,
        "mem_used_pct": 45.2
    },
    "runtime_hints": {
        "docker_present": false,
        "containerd_hint": false,
        "podman_hint": false,
        "libvirt_hint": false,
        "web_server_hint": true,
        "db_server_hint": true,
        "mail_server_hint": false,
        "storage_node_hint": false
    }
}

Runtime Example

{
    "agent_version": "0.1.0",
    "collected_at": "2026-03-07T10:31:00Z",
    "node_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "heartbeat": {
        "uptime_seconds": 8640060,
        "load_avg_1": 1.5,
        "load_avg_5": 1.1,
        "load_avg_15": 0.8
    },
    "disks": [
        {
            "mount_point": "\/",
            "size_bytes": 107374182400,
            "used_bytes": 32212254720,
            "used_pct": 30,
            "free_bytes": 75161927680
        },
        {
            "mount_point": "\/data",
            "size_bytes": 1099511627776,
            "used_bytes": 659706976666,
            "used_pct": 60,
            "free_bytes": 439804651110
        }
    ],
    "inodes": [
        {
            "mount_point": "\/",
            "total": 6553600,
            "used": 245100,
            "used_pct": 3.74
        },
        {
            "mount_point": "\/data",
            "total": 65536000,
            "used": 1200050,
            "used_pct": 1.83
        }
    ],
    "services": [
        {
            "name": "nginx",
            "active_state": "active",
            "sub_state": "running"
        },
        {
            "name": "mysql",
            "active_state": "active",
            "sub_state": "running"
        },
        {
            "name": "php8.2-fpm",
            "active_state": "active",
            "sub_state": "running"
        }
    ],
    "dmesg_events": [],
    "oom_events": []
}