@user/monitoring/agent

Model type — v2026.02.14.2

Details

Type
@user/monitoring/agent
Normalized
@user/monitoring/agent
Version
v2026.02.14.2
Methods
3
Resources
3
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 target VM"
    },
    "sshUser": {
      "default": "root",
      "description": "SSH user (default 'root')",
      "type": "string"
    }
  },
  "required": [
    "sshHost",
    "sshUser"
  ],
  "additionalProperties": false
}

Methods (3)

install

Install node-exporter and promtail binary on an Alpine VM (no configuration)

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "vmName": {
      "type": "string",
      "description": "VM name (used for resource naming)"
    }
  },
  "required": [
    "vmName"
  ],
  "additionalProperties": false
}
configure

Configure promtail to push logs to Loki and start the service

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "vmName": {
      "type": "string",
      "description": "VM name (used as host label in promtail)"
    },
    "lokiUrl": {
      "type": "string",
      "description": "Loki push URL (e.g. http://10.0.0.12:3100/loki/api/v1/push)"
    }
  },
  "required": [
    "vmName",
    "lokiUrl"
  ],
  "additionalProperties": false
}
enableTextfileCollector

Enable node-exporter textfile collector for custom .prom metrics (one-time setup)

Input Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "vmName": {
      "type": "string",
      "description": "VM name (used for resource naming)"
    }
  },
  "required": [
    "vmName"
  ],
  "additionalProperties": false
}

Resources (3)

install

Monitoring agent install state

Lifetime
infinite
Garbage Collection
10
config

Monitoring agent configuration state

Lifetime
infinite
Garbage Collection
10
textfile

Textfile collector setup state

Lifetime
infinite
Garbage Collection
10

Definitions (1)

NameVersionTagsID
monitoringAgentv14e6460fe