# Enable monitoring for all services

This function enables monitoring for all enabled services.

Endpoint: GET /enable_monitor_all_enabled_services
Version: 11.138.0.19
Security: BasicAuth

## Response 200 fields (application/json):

  - `data` (object)

  - `data.services` (array)
    An array of objects that contains information about a service and its monitoring status.

  - `data.services.monitored` (integer)
    Whether the system monitors the service.
- 1 - Monitored.
- 0 - Not monitored.
    Enum: 0, 1

  - `data.services.service` (string)
    The service's name. A valid service name.
    Example: "cphulkd"

  - `metadata` (object)

  - `metadata.command` (string)
    The method name called.
    Example: "enable_monitor_all_enabled_services"

  - `metadata.reason` (string)
    The reason the API function failed when the metadata.result field is 0. This field may display a success message when a function succeeds.
    Example: "OK"

  - `metadata.result` (integer)
    - 1 - Success
- 0 - Failed: Check the reason field for more details.
    Enum: 0, 1

  - `metadata.version` (integer)
    The version of the API function.
    Example: 1


