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


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von George
Niculae
Gesendet: Montag, 3. September 2012 11:00
An: Discussion list for users of sipXecs software
Betreff: Re: [sipx-users] Monitoring SipX 4.6 services

On Mon, Sep 3, 2012 at 11:39 AM, Jan Fricke <[email protected]> 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 at all). Something else like Failed is not good.
> Is there a way to check which services are assigned to the server from
> bash so I can create a list of service I have to check with "service
> servicename status"?
>

Right, there is nothing like the old sipxproc in place (at least yet).
All the services  started / required by sipxecs on a cluster should be
listed by

/usr/share/sipxecs/cfmodules/sipx 1 | grep +

however mind that this will list other attributes that are not really
services e.g.
+primary
+ofconsole
+homer_db_rotate_enable
+homer_db_stats_enable

George
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to