# ServerHealthResult

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.ServerHealthResult/

A structure that specifies the server health results.

- **Full name:** `MFiles.ServerHealthResult`
- **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_succeeded"></a>`vault_refresh_from_one_db_succeeded` | [`TriStateBoolean`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.TriStateBoolean/index.md) | 1 | True, if a refresh from One DB has been successfully made. Undefined, if One DB is not enabled for the server. Values: `TRI_STATE_BOOLEAN_UNDEFINED` (0), `TRI_STATE_BOOLEAN_FALSE` (1), `TRI_STATE_BOOLEAN_TRUE` (2). |
| <a id="f-online_state_transition_finished_for_all_vaults_succeeded"></a>`online_state_transition_finished_for_all_vaults_succeeded` | [`TriStateBoolean`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.TriStateBoolean/index.md) | 2 | True, if all the vaults have finished the online transition. Values: `TRI_STATE_BOOLEAN_UNDEFINED` (0), `TRI_STATE_BOOLEAN_FALSE` (1), `TRI_STATE_BOOLEAN_TRUE` (2). |
| <a id="f-all_vaults_in_correct_end_state_succeeded"></a>`all_vaults_in_correct_end_state_succeeded` | [`TriStateBoolean`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.TriStateBoolean/index.md) | 3 | True, if all the vaults are in correct end state. Values: `TRI_STATE_BOOLEAN_UNDEFINED` (0), `TRI_STATE_BOOLEAN_FALSE` (1), `TRI_STATE_BOOLEAN_TRUE` (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

- [`GetServerHealthResponse.data_result`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCTest/GetServerHealth/index.md#response): One result per check. A check that was not requested is `TRI_STATE_BOOLEAN_UNDEFINED`. `vault_refresh_from_one_db_succeeded` is also `TRI_STATE_BOOLEAN_UNDEFINED` on servers that do not use One DB, which is the normal case on premises.
