snmp would be another way but my script is almost finished now. It queries
the node number from the location_id file, receives all necessary services
using /usr/share/sipxecs/cfmodules/sipx and checks each service using
'service servicename status'. All these information will be combined and
an abstract will be sent to the nagios system using send_nsca.

Thanks for your help :-)


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

On Mon, Sep 3, 2012 at 8:50 AM, Jan Fricke <[email protected]> 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
> should check its own services.

NOTE: All the services relevant to sipx and their statuses are available
via snmp using DisMan MIB.  Add your nagios server to firewall server
group and you should be able to access snmp tree. I'm not familiar
w/nagios to know how to query snmp info but i'm sure it's possible.
_______________________________________________
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