pmg_service_status
Check the status of a service on a Proxmox Mail Gateway system. Pass a service name like postfix or clamav to retrieve its current state.
Instructions
Get the status of a PMG system service (read). Needs PROXIMO_PMG_* config.
PMG 9.1 live-verified path via pmgsh ls: /nodes/{node}/services/{service}/state. service: e.g. 'postfix', 'pmgproxy', 'pmgdaemon', 'pmgmirror', 'pmgtunnel', 'pmg-smtp-filter', 'clamav', 'spamassassin'. No hardcoded enum — pass any valid service name; unknown names return a PMG 404.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| service | Yes | ||
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |