GitHub user sbrueseke added a comment to the discussion: Health checks failed 
on VR

what exactly is the id of the router? Docu is not really clear about it. Is it 
the id in vm_instance table, the uuid, or something else?
I guess it is the id from the vm_instance table?

(proIO) 🐱 > get routerhealthcheckresults routerid=555
{
  "routerhealthchecks": {
    "healthchecks": [
      {
        "checkname": "connectivity.test",
        "checktype": "basic",
        "details": "Successfully connected to router",
        "lastupdated": "2025-01-23T10:01:37+0100",
        "success": true
      },
      {
        "checkname": "cpu_usage_check.py",
        "checktype": "basic",
        "details": "CPU Usage within limits with current at 3.7%",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      },
      {
        "checkname": "dhcp.service",
        "checktype": "basic",
        "details": "service is running",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      },
      {
        "checkname": "dhcp_check.py",
        "checktype": "advanced",
        "details": "All 1 VMs are present in dhcphosts.txt",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      },
      {
        "checkname": "disk_space_check.py",
        "checktype": "basic",
        "details": "Sufficient free space is 2976 MB",
        "lastupdated": "2025-01-23T10:00:04+0100",
        "success": true
      },
      {
        "checkname": "dns_check.py",
        "checktype": "advanced",
        "details": "All 1 VMs are present in /etc/hosts",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      },
      {
        "checkname": "filesystem.writable.test",
        "checktype": "basic",
        "details": "Successfully written to file system",
        "lastupdated": "2025-01-23T10:01:37+0100",
        "success": true
      },
      {
        "checkname": "gateways_check.py",
        "checktype": "basic",
        "details": "All 2 gateways are reachable via ping",
        "lastupdated": "2025-01-23T10:00:04+0100",
        "success": true
      },
      {
        "checkname": "haproxy_check.py",
        "checktype": "advanced",
        "details": "No data provided to check, skipping",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      },
      {
        "checkname": "iptables_check.py",
        "checktype": "advanced",
        "details": "No portforwarding rules provided to check, skipping",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      },
      {
        "checkname": "loadbalancing.service",
        "checktype": "basic",
        "details": "service is running",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      },
      {
        "checkname": "memory_usage_check.py",
        "checktype": "basic",
        "details": "Memory Usage within limits with current at 52.5651%",
        "lastupdated": "2025-01-23T10:00:12+0100",
        "success": true
      },
      {
        "checkname": "router_version_check.py",
        "checktype": "basic",
        "details": "Template and scripts version match successful",
        "lastupdated": "2025-01-23T10:00:12+0100",
        "success": true
      },
      {
        "checkname": "ssh.service",
        "checktype": "basic",
        "details": "service is running",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      },
      {
        "checkname": "webserver.service",
        "checktype": "basic",
        "details": "service is running",
        "lastupdated": "2025-01-23T10:00:01+0100",
        "success": true
      }
    ],
    "routerid": "9d2d3c6c-d1a7-4fd0-8143-7a94b7032eb6"
  }
}

GitHub link: 
https://github.com/apache/cloudstack/discussions/10249#discussioncomment-11927007

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to