[sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread Jan Fricke
Hi, until 4.4 I checked the state of the SipX services using sipxproc. What is the best way to do that on 4.6? _ Jan Fricke (B.Sc.) *IANT - APPLIED NGN-TECHNOLOGIES **Turn-Key VoIP/UC Solutions and More... *Fon: +49 (5331) 6794 0 Fax: +49 (5331) 6794 499 Mail:

Re: [sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread George Niculae
On Mon, Sep 3, 2012 at 11:19 AM, Jan Fricke jan.fri...@iant.de wrote: Hi, until 4.4 I checked the state of the SipX services using sipxproc. What is the best way to do that on 4.6? Now you could use the Linux style, e.g. service sipxconfig status George

Re: [sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread Jan Fricke
And how do I automatically know which services should be running? E.g. using sipxproc I knew status running is ok. Also Disabled is ok (maybe the service is configured on another system of a HA system or it's not necessary at all). Something else like Failed is not good. Is there a way to check

Re: [sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread George Niculae
On Mon, Sep 3, 2012 at 11:39 AM, Jan Fricke jan.fri...@iant.de wrote: And how do I automatically know which services should be running? E.g. using sipxproc I knew status running is ok. Also Disabled is ok (maybe the service is configured on another system of a HA system or it's not necessary

Re: [sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread Jan Fricke
Thanks! I wrote a script that receives all services starting with sipx and checks the service status for each. Maybe I'll add mongo, postgres and a few other. Any ideas why sipxfreeswitch has no status parameter (just start/stop)? Is it enough to check freeswitch (service freeswitch status)? Jan

Re: [sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread George Niculae
On Mon, Sep 3, 2012 at 3:23 PM, Jan Fricke jan.fri...@iant.de wrote: Thanks! I wrote a script that receives all services starting with sipx and checks the service status for each. Maybe I'll add mongo, postgres and a few other. Any ideas why sipxfreeswitch has no status parameter (just

Re: [sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread Jan Fricke
Ok that leads to another question. How can a script query the node_number of the system it is running on? The script will send nagios passive checks from each node. Each node should check its own services. Jan -Ursprüngliche Nachricht- Von: sipx-users-boun...@list.sipfoundry.org

Re: [sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread George Niculae
On Mon, Sep 3, 2012 at 3:50 PM, Jan Fricke jan.fri...@iant.de wrote: Ok that leads to another question. How can a script query the node_number of the system it is running on? The script will send nagios passive checks from each node. Each node should check its own services. Good question,

Re: [sipx-users] Monitoring SipX 4.6 services

2012-09-03 Thread Douglas Hubler
On Mon, Sep 3, 2012 at 8:50 AM, Jan Fricke jan.fri...@iant.de wrote: Ok that leads to another question. How can a script query the node_number of the system it is running on? cat /var/sipxdata/cfdata/defaults/location_id The script will send nagios passive checks from each node. Each node

Re: [sipx-users] linphone and jaK message

2012-09-03 Thread Domenico Chierico
here a preliminary patch On Fri, Aug 31, 2012 at 2:01 PM, Domenico Chierico domenico.chier...@sip2ser.it wrote: Seems that linphone sends to port 5060 some messages reporting jaK inside for keepalive purpose. Seems that this messages give troubles to the proxy. I'm trying to fix this avoiding

Re: [sipx-users] linphone and jaK message

2012-09-03 Thread Joegen Baclor
Domenico, Thanks for the patch. But no offence, having to check jaK string in the stack layer is a bit off. How about this. If (buffer_len = 4 buffer != CRLFCRLF) scram!; Gerneric and still wintin specs for keep-alive. Joegen On 09/03/2012 11:30 PM, Domenico Chierico wrote: here a

Re: [sipx-users] linphone and jaK message

2012-09-03 Thread Domenico Chierico
Great I think we could use stricter rules to discard non sip messages before send it to the parser. For example the jaK message doesn't need a reply so we can throw it away On Sep 3, 2012 6:58 PM, Joegen Baclor jbac...@ezuce.com wrote: ___ sipx-users

Re: [sipx-users] linphone and jaK message

2012-09-03 Thread Joegen Baclor
Feel free to send a revised patch so we can commit it. Thanks! On 09/04/2012 01:07 AM, Domenico Chierico wrote: Great I think we could use stricter rules to discard non sip messages before send it to the parser. For example the jaK message doesn't need a reply so we can throw it away On