Hi Aman,

It seems that you have a MONIT related problem. If you want monit to work you have to set the path for the config file (monitrc) in the */etc/init.d/monit* file. Edit this, fix the path to the config file and monit should start. See the IP and PORT that monit uses and configure them in boxes.global.inc.php

Regards,
Alex
On 5/25/2010 11:43, Aman wrote:

Greetings,

Need a help, i am getting the error on monit on OpenSIPS-CP that "I can't connect!", when i run
monit -t for syntax check, its shows error,

May 24 10:17:26 opensips monit: /etc/monit/monitrc:241: Warning: include files not found '/etc/monit/conf.d/*' May 24 10:50:49 opensips monit: /etc/monit/monitrc:241: Warning: include files not found '/etc/monit/conf.d/*' May 24 11:08:14 opensips monit: /etc/monit/monitrc:241: Warning: include files not found '/etc/monit/conf.d/*'

But this file does not exist on defined path, i have also skipped the following configuration part in 'monitrc'

" check process opensips with pidfile /var/run/opensips.pid
#Below is actions taken by monit when service got stuck.
start program = "/etc/init.d/opensips start"
stop program = "/etc/init.d/opensips stop"
# Admin will notify by mail if below of the condition satisfied.
if cpu is greater than 70% for 2 cycles then alert
if cpu > 90% for 5 cycles then restart "

as this shows error opensips already icluded, please advice to make the monit work.
Any suggestions are really appreciable.


--
Amanpreet Singh


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Alex Ionescu
www.voice-system.ro

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to