View previous topic :: View next topic |
Author |
Message |
xserverlinux at gmail.com Guest
|
Posted: Sun Dec 28, 2014 10:53 pm Post subject: [asterisk-users] [OFF TOPIC] monit |
|
|
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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Mon Dec 29, 2014 5:51 am Post subject: [asterisk-users] [OFF TOPIC] monit |
|
|
ricky gutierrez wrote:
Quote: | someone on the list who is running successfully?, I am using asterisk
11.15 With CentOS 6.5 x64
|
I use monit, but I only watch the pid
check process asterisk with pidfile /var/run/asterisk/asterisk.pid
start program = "/usr/sbin/service asterisk start"
stop program = "/usr/sbin/service asterisk stop"
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
xserverlinux at gmail.com Guest
|
Posted: Mon Dec 29, 2014 7:47 pm Post subject: [asterisk-users] [OFF TOPIC] monit |
|
|
2014-12-29 4:51 GMT-06:00 Doug Lytle <support@drdos.info>:
Quote: | I use monit, but I only watch the pid
check process asterisk with pidfile /var/run/asterisk/asterisk.pid
start program = "/usr/sbin/service asterisk start"
stop program = "/usr/sbin/service asterisk stop"
Doug
|
work fine my friend , thnk
--
rickygm
http://gnuforever.homelinux.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|