Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] [OFF TOPIC] monit


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
xserverlinux at gmail.com
Guest





PostPosted: Sun Dec 28, 2014 10:53 pm    Post subject: [asterisk-users] [OFF TOPIC] monit Reply with quote

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





PostPosted: Mon Dec 29, 2014 5:51 am    Post subject: [asterisk-users] [OFF TOPIC] monit Reply with quote

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





PostPosted: Mon Dec 29, 2014 7:47 pm    Post subject: [asterisk-users] [OFF TOPIC] monit Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services