Example Argus Config – Asterisk Monitoring
add something like the following to your Argus config file in order to make sure asterisk is properly functioning:
Host “asterisk.example.com” {
- set manager username/password
- see also: /etc/asterisk/manager.conf
user: argus
pass: secret
Service TCP/Asterisk {
- make sure PRI is up
cmd: pri show span 1
expect: Provisioned, Up, Active
}
Service TCP/Asterisk {
- graph the number of channels in use
cmd: show channels
pluck: (\d+) active channel
graph: yes
title: Channels In Use
}
- test iax + sip
Service UDP/IAX2
Service UDP/SIP
}