[asterisk-users] [OFF TOPIC] monit

ricky gutierrez xserverlinux at gmail.com
Sun Dec 28 21:52:43 CST 2014


Hi list , I'm trying to run monit with asterisk, starting as simple

# My PBX Asterisk

check process asterisk with pidfile /var/run/asterisk/asterisk.pid
start program = "/etc/init.d/asterisk start" with timeout 60 seconds
stop program = "/etc/init.d/asterisk stop" with timeout 60 seconds
if failed host 127.0.0.1 port 5038 then restart
if 5 restarts within 5 cycles then timeout

when I log in (monit interface) I see the status of asterisk is "NOT MONITORED"

port 5038 is ready

netstat -an | grep 5038

tcp        0      0 127.0.0.1:5038              0.0.0.0:*
     LISTEN


someone on the list who is running successfully?, I am using asterisk
11.15 With CentOS 6.5 x64

regards list.



-- 
rickygm

http://gnuforever.homelinux.com



More information about the asterisk-users mailing list