pmg_service_status
Check the status of a Proxmox Mail Gateway service, such as postfix or clamav, returning its current state. Unknown service names result in a 404 error.
Instructions
READ-ONLY: get the status of a PMG system service. Needs PROXIMO_PMG_* config.
Returns a dict with the service's state. service: e.g. 'postfix', 'pmgproxy', 'pmgdaemon', 'clamav', 'spamassassin' — no hardcoded enum, unknown names return a PMG 404. Use pmg_service_control to start/stop/restart/reload the service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | PMG node name; defaults to the configured node. | |
| service | Yes | PMG service name, e.g. postfix, pmgproxy, pmgdaemon, pmgmirror, pmgtunnel, pmg-smtp-filter, clamav, spamassassin. | |
| 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 |