@user/monitoring/hub

Model type — v2026.02.14.1

Details

Type
@user/monitoring/hub
Normalized
@user/monitoring/hub
Version
v2026.02.14.1
Methods
2
Resources
2
Files
0
Definitions
1

Global Arguments

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "sshHost": {
      "type": "string",
      "description": "SSH hostname/IP of the monitoring hub (hancock)"
    },
    "sshUser": {
      "default": "keeb",
      "description": "SSH user (default 'keeb')",
      "type": "string"
    },
    "targetsDir": {
      "type": "string",
      "description": "Path to Prometheus file_sd_configs targets directory"
    }
  },
  "required": [
    "sshHost",
    "sshUser",
    "targetsDir"
  ],
  "additionalProperties": false
}

Methods (2)

discover

Validate observability stack and write endpoint data

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
register

Register a VM as a Prometheus scrape target via file_sd_configs

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "vmName": {
      "type": "string",
      "description": "VM name to register as a Prometheus scrape target"
    },
    "targetIp": {
      "type": "string",
      "description": "IP address of the target VM"
    }
  },
  "required": [
    "vmName",
    "targetIp"
  ],
  "additionalProperties": false
}

Resources (2)

hub

Observability stack endpoints on hancock

Lifetime
infinite
Garbage Collection
10
target

Prometheus scrape target registration

Lifetime
infinite
Garbage Collection
10

Definitions (1)

NameVersionTagsID
hancockMonitoringv154cc1c2c