Mutation
mutation SaveCliHealthSettings($checks: [CustomCliHealthCheckInput!]!) {
saveCliHealthSettings(checks: $checks) {
version
dependencies {
name
version
}
customChecks {
id
name
command
enabled
}
agents {
agentId
name
hostname
version
connectionStatus
supported
}
}
}Variables
{
"checks": [
{
"name": "string",
"command": "string",
"enabled": true
}
]
}Response
{
"data": {
"saveCliHealthSettings": {
"version": "string",
"dependencies": [
{
"name": "string",
"version": "string"
}
],
"customChecks": [
{
"id": "id",
"name": "string",
"command": "string",
"enabled": true
}
],
"agents": [
{
"agentId": "id",
"name": "string",
"hostname": "string",
"version": "string",
"connectionStatus": "ONLINE",
"supported": true
}
]
}
}
}Mutations
saveCliHealthSettings
Replaces the global custom CLI health check settings.
MUTATION
saveCliHealthSettings(checks: [CustomCliHealthCheckInput!]!): InstallationStatus!Arguments
checks
required
Complete ordered list of custom check settings.
Returns
version
String!
Version of the running server package.
dependencies
Versions of dependencies bundled with the control agent and web application.
customChecks
Global custom CLI health check settings, including disabled checks.
agents
CLI health and version information for every registered agent.
Mutation
mutation SaveCliHealthSettings($checks: [CustomCliHealthCheckInput!]!) {
saveCliHealthSettings(checks: $checks) {
version
dependencies {
name
version
}
customChecks {
id
name
command
enabled
}
agents {
agentId
name
hostname
version
connectionStatus
supported
}
}
}Variables
{
"checks": [
{
"name": "string",
"command": "string",
"enabled": true
}
]
}Response
{
"data": {
"saveCliHealthSettings": {
"version": "string",
"dependencies": [
{
"name": "string",
"version": "string"
}
],
"customChecks": [
{
"id": "id",
"name": "string",
"command": "string",
"enabled": true
}
],
"agents": [
{
"agentId": "id",
"name": "string",
"hostname": "string",
"version": "string",
"connectionStatus": "ONLINE",
"supported": true
}
]
}
}
}