[OpenSIPS-Users] Opensips-CP Monit is not working

Aman goforaman at gmail.com
Wed May 26 09:25:16 CEST 2010


Thanks Alex,

There is some problem in some part of monit as netstat -tlnp does not show
listen on 127.0.0.1:2812, i am clueless about this, 'monitrc' and
'boxes.global.inc.php' are seems to be okey as 'boxes.global.inc.php' is
configured to listen to :2812 for monit, any suggestions regarding this.


Thanks,
Amanpret Singh

On Tue, May 25, 2010 at 7:02 PM, <users-request at lists.opensips.org> wrote:

> Send Users mailing list submissions to
>        users at lists.opensips.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>        users-request at lists.opensips.org
>
> You can reach the person managing the list at
>        users-owner at lists.opensips.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>   1. cpled - CPL script doesn't respect CPL grammar (Karl Harris)
>   2. Re: Opensips-CP Monit is not working (Albert Paijmans)
>   3.  cpled - CPL script doesn't respect CPL grammar (mehdi boudou)
>   4. media-relay warning (Jeff Pyle)
>   5. Re: media-relay warning (Laszlo)
>   6. Re: Opensips-CP Monit is not working (Alex Ionescu)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 25 May 2010 08:09:15 -0400
> From: Karl Harris <karlh626 at gmail.com>
> Subject: [OpenSIPS-Users] cpled - CPL script doesn't respect CPL
>        grammar
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID:
>        <AANLkTil-9kiNhs01ijKbo0bcs7GIuHGU1u5Ns3g06lZR at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I am trying out the CPLED java program which is available at
>
> https://sourceforge.net/projects/cpled/
>
> I have created the following xml using the above tool:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <cpl xmlns="urn:ietf:params:xml:ns:cpl" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="urn:ietf:params:xml:ns:cpl cpl.xsd" >
>  <subaction id="overflow" >
>   <location url="sip:990010004 at ...domain-hidden..." />
>  </subaction>
>  <incoming >
>   <location clear="yes" url="sip:990010007 at ...domain-hidden..." >
>     <proxy timeout="5" >
>       <noanswer >
>         <sub ref="overflow" />
>       </noanswer>
>     </proxy>
>   </location>
>  </incoming>
> </cpl>
>
>
> When I type the command
>
> opensipsctl fifo LOAD_CPL "sip:<username>@domain" /path/xmlfile.cpl.xml
>
> I get the error...
>
> Log:: Error: CPL script doesn't respect CPL grammar
>
> If I then remove all parameters from the cpl tag it compiles without
> errors.
>
> Has anyone run into this before?
>
> Oh, I am running CPLED from windows xp.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.opensips.org/pipermail/users/attachments/20100525/e91b61c7/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Tue, 25 May 2010 14:31:20 +0200
> From: Albert Paijmans <albert at vraagalex.nl>
> Subject: Re: [OpenSIPS-Users] Opensips-CP Monit is not working
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID:
>        <AANLkTiml5Yrj7N1a_sdEcm7zu5oGLqGvtSAuZvI90VEV at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I have some problems connecting to monit and mi
> Installed xmlrpc (deb packages) and running monit -t gives an ok
> Starting OpenSIPS gives an ok to.
>
> But in the control panel I get these error messages:
> Cannot connect to OpenSIPS Server via Management Interface (127.0.0.1/8000
> )
> And cannot connect tot 127.0.0.1:2812  (monit tool)
>
> OpenSIPS seems to run and listening on udp ports for sip messages.
> So I am missing something? Did the install for monit from the readme.
>
> Thanks,
>
> Albert
>
>
> On Tue, May 25, 2010 at 10:43 AM, Aman <goforaman at gmail.com> 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 at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.opensips.org/pipermail/users/attachments/20100525/a09081a6/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Tue, 25 May 2010 14:43:16 +0200
> From: mehdi boudou <mehdi.boudou at gmail.com>
> Subject: [OpenSIPS-Users]  cpled - CPL script doesn't respect CPL
>        grammar
> To: "users at lists.opensips.org" <users at lists.opensips.org>
> Message-ID:
>        <AANLkTikOPVhmn8BDJsUeSWGTMc-cpgA0_aWgEYK_OQbA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> You have to pay attention to your dtd path, you may change
>
> <cpl xmlns="urn:ietf:params:xml:ns:cpl" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
> <http://www.w3.org/2001/XMLSchema-instance%22>
> xsi:schemaLocation="urn:ietf:params:xml:ns:cpl cpl.xsd" > by
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE cpl SYSTEM
> "/home/xxxxx/opensips-1.5.0-notls/modules/cpl-c/cpl-06.dtd">
> <cpl>
>
>
> Regards
>
> Mehdi BOUDOU
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.opensips.org/pipermail/users/attachments/20100525/93f47eaf/attachment-0001.htm
>
> ------------------------------
>
> Message: 4
> Date: Tue, 25 May 2010 09:15:35 -0400
> From: Jeff Pyle <jpyle at fidelityvoice.com>
> Subject: [OpenSIPS-Users] media-relay warning
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID: <D54D1C2F-03D8-440E-B6AC-850EFD3FE8A2 at fidelityvoice.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
>
> warning: Aggregate speed calculation time exceeded 10ms: 10818 us for 120
> sessions
>
> I've got a bunch of these on all my relays.  I've never seen that before.
>  My users experienced some one-way audio and other ugliness during the
> timeframe of these warnings.  What's the scoop?
>
>
> - Jeff
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 25 May 2010 15:26:08 +0200
> From: Laszlo <laszlo at voipfreak.net>
> Subject: Re: [OpenSIPS-Users] media-relay warning
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID:
>        <AANLkTikxaku4M0sfdtywFgMA38JnGsNxEd087TuGFXZN at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Jeff,
>
> Maybe it's related to traffic_sampling_period in config.ini
>
> -Laszlo
>
> 2010/5/25 Jeff Pyle <jpyle at fidelityvoice.com>
>
> > Hello,
> >
> > warning: Aggregate speed calculation time exceeded 10ms: 10818 us for 120
> > sessions
> >
> > I've got a bunch of these on all my relays.  I've never seen that before.
> >  My users experienced some one-way audio and other ugliness during the
> > timeframe of these warnings.  What's the scoop?
> >
> >
> > - Jeff
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.opensips.org/pipermail/users/attachments/20100525/445035ff/attachment-0001.htm
>
> ------------------------------
>
> Message: 6
> Date: Tue, 25 May 2010 16:31:59 +0300
> From: Alex Ionescu <alex at opensips.org>
> Subject: Re: [OpenSIPS-Users] Opensips-CP Monit is not working
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID: <4BFBD14F.9070203 at opensips.org>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Albert,
>
> Please, try this command : netstat -tlnp . See if opensips is listening
> also on port 8000 (this should be the xmlrpc port - if this is what
> you've set up in your opensips config)
> and also see if monit is configured to listen on 127.0.0.1:2812. If this
> info is not shown in the output of the command then in means something
> is not working correctly.
>
> Also see monit's config file : monitrc. See if it is set up to listen on
> the same IP:PORT that you have set up in the OpensipsCP config
> (boxes.global.inc.php)
>
> Regards,
> Alex
> On 5/25/2010 15:31, Albert Paijmans wrote:
> > Hi,
> >
> > I have some problems connecting to monit and mi
> > Installed xmlrpc (deb packages) and running monit -t gives an ok
> > Starting OpenSIPS gives an ok to.
> >
> > But in the control panel I get these error messages:
> > Cannot connect to OpenSIPS Server via Management Interface
> > (127.0.0.1/8000 <http://127.0.0.1/8000>)
> > And cannot connect tot 127.0.0.1:2812 <http://127.0.0.1:2812>  (monit
> > tool)
> >
> > OpenSIPS seems to run and listening on udp ports for sip messages.
> > So I am missing something? Did the install for monit from the readme.
> >
> > Thanks,
> >
> > Albert
> >
> >
> > On Tue, May 25, 2010 at 10:43 AM, Aman <goforaman at gmail.com
> > <mailto:goforaman at gmail.com>> 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 at lists.opensips.org <mailto:Users at lists.opensips.org>
> >     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
> --
> Alex Ionescu
> www.voice-system.ro
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.opensips.org/pipermail/users/attachments/20100525/b8147392/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> End of Users Digest, Vol 22, Issue 87
> *************************************
>



-- 
((cheers))
Amanpreet Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100526/d3b51417/attachment-0001.htm 


More information about the Users mailing list