login | register
Sat 22 of Nov, 2008 [06:07 UTC]

voip-info.org

History

Example Argus Config

Created by: jaw,Last modification on Tue 25 of Jan, 2005 [19:39 UTC]

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
 }


Comments