# Monitor and repair CubeCOS services using the web UI or CLI

> Learn how to identify and troubleshoot CubeCOS service errors using the web UI or CLI tools.

Learn how to identify and troubleshoot CubeCOS service errors using the web UI or CLI tools.

## Repair service health through the web UI {#repair-service-health-through-the-web-ui}

1. **Check Health Status**: Review the system’s health indicators displayed in the interface.

   ![/assets/maintenances/v3.0.0/08-repair-1.png](/assets/maintenances/v3.0.0/08-repair-1.png)

2. **Repair Detected Issues**: If any errors are reported, click Repair to initiate automated recovery actions.

   ![/assets/maintenances/v3.0.0/08-repair-2.png](/assets/maintenances/v3.0.0/08-repair-2.png)

3. **Verification**: Confirm that all system components display a healthy status and no further issues are reported.

   ![/assets/maintenances/v3.0.0/08-repair-3.png](/assets/maintenances/v3.0.0/08-repair-3.png)

---

## Repair service health through the CLI {#repair-service-health-through-the-cli}

:::info

Initiate a CLI based advanced repair if the UI-based repair is unsuccessful or the issue involves complex system errors.

:::

1. Use SSH to access the CubeCOS cluster management through its virtual IP address (VIP). Log in with the `admin` user to access the admin CLI.

```bash
    $ ssh admin@192.168.1.x
    Warning: Permanently added '192.168.1.x' (ECDSA) to the list of known hosts.
    Password:
```

2. Run `cluster> check_repair` to perform a CLI based service repair.

```bash
controller> cluster check_repair
          Service  Status  Report
      ClusterLink      ok  [ link(v) clock(v) dns(v) ]
       ClusterSys      ok  [ bootstrap(v) license(v) ]
  ClusterSettings      ok  [ etcd(v) nodelist(v) mongodb(v) ]
        HaCluster  FIXING  [ hacluster(3) ]
                       ok  [ hacluster(f) ]
         MsgQueue      ok  [ rabbitmq(v) ]
           IaasDb      ok  [ mysql(v) ]
        VirtualIp      ok  [ vip(v) haproxy_ha(v) ]
          Storage      ok  [ ceph(v) ceph_mon(v) ceph_mgr(v) ceph_mds(v) ceph_osd(v) ceph_rgw(v) rbd_target(v) ]
       ApiService      ok  [ haproxy(v) httpd(v) nginx(v) api(v) lmi(v) skyline(v) memcache(v) ]
     SingleSignOn      ok  [ k3s(v) keycloak(v) ]
          Network  FIXING  [ neutron(3) ]
                       ok  [ neutron(f) ]
          Compute  FIXING  [ nova(8) cyborg(v) ]
                       ok  [ nova(f) ]
        Baremetal      ok  [ ironic(v) ]
            Image      ok  [ glance(v) ]
        BlockStor      ok  [ cinder(v) ]
         FileStor      ok  [ manila(v) ]
       ObjectStor      ok  [ swift(v) ]
    Orchestration      ok  [ heat(v) ]
            LBaaS      ok  [ octavia(v) ]
           DNSaaS      ok  [ designate(v) ]
           K8SaaS      ok  [ rancher(v) ]
       InstanceHa      ok  [ masakari(v) ]
    BusinessLogic      ok  [ senlin(v) watcher(v) ]
         DataPipe      ok  [ zookeeper(v) kafka(v) ]
          Metrics      ok  [ monasca(v) telegraf(v) grafana(v) ]
     LogAnalytics      ok  [ filebeat(v) auditbeat(v) logstash(v) opensearch(v) opensearch-dashboards(v) ]
    Notifications      ok  [ influxdb(v) kapacitor(v) ]
```
