Nagios and check sip

From MiRTA PBX documentation
Jump to navigation Jump to search

Nagios is a comprehensive tool for monitoring online services. If you have already a Nagios server installed, it is easy to add your MiRTA PBX node. Its configuration is available and can be easily installed using the "protected/installMirtaPBX.sh" script by running:

./installMirtapbx.sh Nagios

Before running it, it can be good to customize the script for the database access.

Check SIP

Check_sip is one of the tools available to check the status of a SIP service, like the one provided by Asterisk with the chan_sip module. You can install it "standalone" for the autorestart feature available in Admin/PBX Nodes

Based on your OS:

If CentOS 6:

 yum -y install https://demo.mirtapbx.com/mirtapbx_support/nagios-plugins-check_sip-1.3-4.el6.x86_64.rpm

If CentOS 7:

 yum -y install https://demo.mirtapbx.com/mirtapbx_support/nagios-plugins-check_sip-1.3-4.el7.centos.x86_64.rpm

You may need to install also the following packages:

 yum -y install nagios-plugins-perl perl-Switch