{
  "metadata": {
    "os": "Linux",
    "hostname": "example-linux-host",
    "timestamp": "2026-05-07T08:00:00Z",
    "module": "all",
    "format": "json",
    "script": "linux-health-check.sh"
  },
  "modules": {
    "system": {
      "status": "ok",
      "commands": [
        {
          "name": "uname",
          "command": "uname -a",
          "exit_code": 0,
          "output": "Linux example-linux-host 6.1.0 x86_64 GNU/Linux"
        }
      ],
      "warnings": [],
      "errors": []
    },
    "disk": {
      "status": "ok",
      "commands": [
        {
          "name": "disk",
          "command": "df -h",
          "exit_code": 0,
          "output": "Filesystem Size Used Avail Use% Mounted on\n/dev/sda1 100G 40G 60G 40% /"
        }
      ],
      "warnings": [],
      "errors": []
    },
    "network": {
      "status": "ok",
      "commands": [
        {
          "name": "listening_ports",
          "command": "ss -tulnp",
          "exit_code": 0,
          "output": "Netid State Local Address:Port"
        }
      ],
      "warnings": [],
      "errors": []
    },
    "service": {
      "status": "ok",
      "commands": [],
      "warnings": [],
      "errors": []
    },
    "process": {
      "status": "ok",
      "commands": [],
      "warnings": [],
      "errors": []
    },
    "package": {
      "status": "ok",
      "commands": [
        {
          "name": "package_managers",
          "command": "apt --version",
          "exit_code": 0,
          "output": "apt 2.6.1"
        }
      ],
      "warnings": [],
      "errors": []
    },
    "security": {
      "status": "warning",
      "commands": [
        {
          "name": "sshd_config",
          "command": "grep sshd_config",
          "exit_code": 0,
          "output": "PermitRootLogin no\nPasswordAuthentication no"
        }
      ],
      "warnings": [
        {
          "name": "firewall-cmd",
          "message": "Command not available: firewall-cmd"
        }
      ],
      "errors": []
    },
    "container": {
      "status": "warning",
      "commands": [],
      "warnings": [
        {
          "name": "docker",
          "message": "Command not available: docker"
        }
      ],
      "errors": []
    },
    "log": {
      "status": "ok",
      "commands": [
        {
          "name": "journal_errors",
          "command": "journalctl -p 3 -n 50 --no-pager",
          "exit_code": 0,
          "output": "-- No entries --"
        }
      ],
      "warnings": [],
      "errors": []
    }
  },
  "summary": {
    "status": "warning",
    "warnings_count": 2,
    "errors_count": 0
  },
  "errors": []
}
