<font class="Apple-style-span" face="verdana, sans-serif"><div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div>Greetings,<br></font><div><font class="Apple-style-span" face="verdana, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="verdana, sans-serif"> Need a help, i am getting the error on monit on OpenSIPS-CP that "</font><span class="Apple-style-span" style="font-size: medium; "><font class="Apple-style-span" face="verdana, sans-serif">I can't connect!</font><span class="Apple-style-span" style="font-size: small; "><font class="Apple-style-span" face="verdana, sans-serif">", when i run </font></span></span></div>
<div><span class="Apple-style-span" style="font-size: medium; "><span class="Apple-style-span" style="font-size: small; "><font class="Apple-style-span" face="verdana, sans-serif">monit -t for syntax check, its shows error,</font></span></span></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><span class="Apple-style-span" style="font-size: medium; "><span class="Apple-style-span" style="font-size: small; "><div><font class="Apple-style-span" 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 class="Apple-style-span" 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 class="Apple-style-span" 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 class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" 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 class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><font class="Apple-style-span" color="#333399">" check process opensips with pidfile /var/run/opensips.pid</font></font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><font class="Apple-style-span" color="#333399">#Below is actions taken by monit when service got stuck.</font></font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><font class="Apple-style-span" color="#333399">start program = "/etc/init.d/opensips start"</font></font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><font class="Apple-style-span" color="#333399">stop program = "/etc/init.d/opensips stop"</font></font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><font class="Apple-style-span" color="#333399"># Admin will notify by mail if below of the condition satisfied.</font></font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><font class="Apple-style-span" color="#333399">if cpu is greater than 70% for 2 cycles then alert</font></font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><font class="Apple-style-span" color="#333399">if cpu > 90% for 5 cycles then restart "</font></font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">as this shows error opensips already icluded, please advice to make the monit work.</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif">Any suggestions are really appreciable.</font></div><div><font class="Apple-style-span" face="verdana, sans-serif"> </font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="verdana, sans-serif"><br>-- <br>Amanpreet Singh</font><br>
</div>