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: [email protected]
[mailto:[email protected]] Im Auftrag von George
Niculae
Gesendet: Montag, 3. September 2012 14:31
An: Discussion list for users of sipXecs software
Betreff: Re: [sipx-users] Monitoring SipX 4.6 services

On Mon, Sep 3, 2012 at 3:23 PM, Jan Fricke <[email protected]> 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
> start/stop)? Is it enough to check freeswitch (service freeswitch
status)?
>

Yes, that's correct, just check freeswitch status. On a side note, mind
that if you have multiple nodes in cluster you should use:

/usr/share/sipxecs/cfmodules/sipx {node_number} | grep +

1 it is always primary

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