<div>Hi,</div><div><br></div><div><div>I have some problems connecting to monit and mi</div><div>Installed xmlrpc (deb packages) and running monit -t gives an ok</div><div>Starting OpenSIPS gives an ok to.</div><div><br></div>
<div>But in the control panel I get these error messages:</div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; ">Cannot connect to OpenSIPS Server via Management Interface (<a href="http://127.0.0.1/8000">127.0.0.1/8000</a>)<br>
And cannot connect tot <a href="http://127.0.0.1:2812">127.0.0.1:2812</a> (monit tool)</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; "><br></span></div>
<div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; ">OpenSIPS seems to run and listening on udp ports for sip messages.</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; ">So I am missing something? Did the install for monit from the readme.</span></div>
<div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; ">Thanks,</span></div>
<div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; "><br>Albert</span></div><div><font class="Apple-style-span" face="Verdana, Arial, Helvetica, sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br>
</span></font><br><div class="gmail_quote">On Tue, May 25, 2010 at 10:43 AM, Aman <span dir="ltr"><<a href="mailto:goforaman@gmail.com">goforaman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font face="verdana, sans-serif"><div><font face="verdana, sans-serif"><br></font></div>Greetings,<br></font><div><font face="verdana, sans-serif"><br>
</font></div><div><font face="verdana, sans-serif"> Need a help, i am getting the error on monit on OpenSIPS-CP that "</font><span style="font-size:medium"><font face="verdana, sans-serif">I can't connect!</font><span style="font-size:small"><font face="verdana, sans-serif">", when i run </font></span></span></div>
<div><span style="font-size:medium"><span style="font-size:small"><font face="verdana, sans-serif">monit -t for syntax check, its shows error,</font></span></span></div>
<div><font face="verdana, sans-serif"><br></font></div><div><span style="font-size:medium"><span style="font-size:small"><div><font face="verdana, sans-serif">May 24 10:17:26 opensips monit: /etc/monit/monitrc:241: Warning: include files not found '/etc/monit/conf.d/*'</font></div>
<div><font face="verdana, sans-serif">May 24 10:50:49 opensips monit: /etc/monit/monitrc:241: Warning: include files not found '/etc/monit/conf.d/*'</font></div><div><font face="verdana, sans-serif">May 24 11:08:14 opensips monit: /etc/monit/monitrc:241: Warning: include files not found '/etc/monit/conf.d/*'</font></div>
</span></span></div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">But this file does not exist on defined path, i have also skipped the following configuration part in 'monitrc'</font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><font color="#333399">" check process opensips with pidfile /var/run/opensips.pid</font></font></div>
<div><font face="verdana, sans-serif"><font color="#333399">#Below is actions taken by monit when service got stuck.</font></font></div><div><font face="verdana, sans-serif"><font color="#333399">start program = "/etc/init.d/opensips start"</font></font></div>
<div><font face="verdana, sans-serif"><font color="#333399">stop program = "/etc/init.d/opensips stop"</font></font></div><div><font face="verdana, sans-serif"><font color="#333399"># Admin will notify by mail if below of the condition satisfied.</font></font></div>
<div><font face="verdana, sans-serif"><font color="#333399">if cpu is greater than 70% for 2 cycles then alert</font></font></div><div><font face="verdana, sans-serif"><font color="#333399">if cpu > 90% for 5 cycles then restart "</font></font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">as this shows error opensips already icluded, please advice to make the monit work.</font></div>
<div><font face="verdana, sans-serif">Any suggestions are really appreciable.</font></div><div><font face="verdana, sans-serif"> </font></div><font color="#888888"><div><font face="verdana, sans-serif"><br>
</font></div><div><font face="verdana, sans-serif"><br>-- <br>Amanpreet Singh</font><br>
</div>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>