Asterisk monitor
- Last Updated 3/31/2023, 12:34:01 PM UTC
- About 1 min read
Plugin info
name: asterisk-mon
Performs basic asterisk comms server monitoring
# Prerequisites
Must run on same node as the asterisk installation it monitors
# Events
None
# Metrics
Metric | Description |
---|---|
asterisk/calls/processed_total | total calls processed since startup |
asterisk/calls/active | current active calls |
asterisk/channels/active | current active channels |
# Configuration
This section describes the configuration settings for this plugin.
Name | Type | Required | Default | Description |
---|---|---|---|---|
timeout | duration string | No | 10s | How long to wait for asterisk to respond |
source | string | No | hostname | The reported source of the generated metrics |
cli_path | string | No | /sbin/asterisk | path to asterisk CLI |
become | bool | No | false | Run asterisk CLI with elevated privileges (sudo ) |
# Example Configuration
timeout: 2s
source: "Customer care PBX-1"
become: true