# ServerHealthRequest

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ServerHealthRequest/

A structure that specifies a server health request.

- **Full name:** `MFiles.ServerHealthRequest`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-vault_refresh_from_one_db"></a>`vault_refresh_from_one_db` | [`ServerHealthItem`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ServerHealthItem/index.md) | 1 | Check that a refresh from One DB has been successfully made. Values: `SERVER_HEALTH_ITEM_IGNORE` (0), `SERVER_HEALTH_ITEM_CHECK` (1), `SERVER_HEALTH_ITEM_FAIL_IF_UNHEALTHY` (2). |
| <a id="f-online_state_transition_finished_for_all_vaults"></a>`online_state_transition_finished_for_all_vaults` | [`ServerHealthItem`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ServerHealthItem/index.md) | 2 | Check that all the vaults have finished the online transition. Values: `SERVER_HEALTH_ITEM_IGNORE` (0), `SERVER_HEALTH_ITEM_CHECK` (1), `SERVER_HEALTH_ITEM_FAIL_IF_UNHEALTHY` (2). |
| <a id="f-all_vaults_in_correct_end_state"></a>`all_vaults_in_correct_end_state` | [`ServerHealthItem`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ServerHealthItem/index.md) | 3 | Check that all the vaults are in correct end state. Values: `SERVER_HEALTH_ITEM_IGNORE` (0), `SERVER_HEALTH_ITEM_CHECK` (1), `SERVER_HEALTH_ITEM_FAIL_IF_UNHEALTHY` (2). |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCTest.GetServerHealth](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/GetServerHealth/index.md): Runs the server health checks you select and returns the result of each.

<a id="used-in-fields"></a>

## Used in fields

- [`GetServerHealthRequest.data_request`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/GetServerHealth/index.md#request): Which checks to run, and whether a failed check fails the call; see Remarks.
