snapshot_capture
Capture a structured state snapshot of a running OpenSIPS instance as a JSON file. Specify output directory, optional label, and extra statistics groups for diagnostics or baselines.
Instructions
Capture a structured state snapshot of the running OpenSIPS.
Parameters
out_dir:
Directory to save the JSON snapshot into. Must live in an
allowlisted dir (/tmp, /var/tmp, $HOME, or
OPENSIPS_MCP_OUT_DIR_ROOT).
label:
Optional human-readable tag (before-deploy, baseline,
post-incident). Becomes part of the filename.
extra_stat_groups:
Additional statistics group prefixes to include beyond the
defaults. E.g. ["rtpengine:", "stir_shaken:"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out_dir | Yes | ||
| label | No | ||
| extra_stat_groups | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||