Yeastar P-Series PBX (OpenAPI)
Special agent that monitors Yeastar P-Series PBXs (appliances and Software Edition) through the Yeastar OpenAPI, for systems where SNMP is not available. Includes a Setup rule and graph definitions.
Overview
This package monitors Yeastar P-Series IP PBXs using their HTTP OpenAPI, with no SNMP and no agent on the PBX. One rule covers any number of PBXs, each with its own credentials and thresholds.
Services created
Health
- API reachability and authentication
- Model, firmware, serial number and uptime, with alerts on reboots, firmware changes and clock drift
- Storage devices: free space and connection state
- Age and result of the latest backup
- Certificate expiry
- Trunk status
- Archiving jobs
Capacity
- Concurrent calls against the licensed maximum
- Extension licences against the licensed maximum
Usage statistics
- Call volumes of today and yesterday from the CDR: inbound, outbound, internal, answered, not answered, talk time, calls per hour
- Peak concurrent calls
- Registered extensions by endpoint type (SIP phone, Linkus clients, FXS)
- Stored recordings
Queues
- Live: waiting callers, longest current wait, available agents per queue
- Daily statistics: answered, missed, abandoned, SLA, wait and talk times
Every section can be switched on or off per rule, and all thresholds are configurable. Graph definitions are included for call volumes, queues, extensions and capacity.
Requirements
- Checkmk 2.3.0 or later (built with the 2.3 plugin APIs, used on 2.3 Raw Edition)
- Yeastar P-Series PBX with the API enabled (Integrations > API) and the Checkmk server's IP in the API allow-list
- The API normally requires an Enterprise or Ultimate plan. On a PBX with an expired plan, some sections (queue statistics, archiving) may be refused; untick them in the rule.
Setup
-
Install and enable the package, then restart Apache:
mkp add yeastar-1.0.1.mkp
mkp enable yeastar 1.0.1
omd restart apache
-
Create the PBX host with Configured API integrations, no Checkmk agent.
-
Add the rule Yeastar P-Series PBX under Setup > Agents > Other integrations: Client ID, Client Secret, port (8088 by default, 443 through a Yeastar FQDN), certificate option, sections and thresholds.
-
Run a service discovery. A check interval of 15 minutes is recommended.
Tested with
- Yeastar P550 (firmware 37.25)
- Yeastar P-Series Software Edition (firmware 83.25)
Notes
- The access token is cached and renewed with the refresh token, to stay within Yeastar's limit of 8 simultaneous tokens.
- The Client Secret is passed to the special agent on the command line, the method documented for Checkmk 2.3, so it is visible in the process list of the monitoring server while the agent runs.
- CPU and memory are not exposed by the Yeastar API, so they are not monitored.
Changelog
- 1.0.1: service names containing apostrophes no longer break the service; an empty USB/SD slot is no longer reported as CRIT
- 1.0.0: initial release
Disclaimer
This plugin was vibe coded: it was written with an AI assistant (Claude, by Anthropic) and tested on real PBXs by the author. It is provided as is, without warranty. Review it before deploying it in production, and please report issues or improvements.
Uploaded on: 3 Dec 2026
Downloads: 0
Built on Checkmk version: 2.3.0
Minimum Checkmk version required: 2.3.0
MKP MD5 hash: 842668496f46ae772d44ec4fe82fcbba