Monitoring Wildix PBX with Nagios - English
Jun 25, 2018 19:03
This instruction explains how to monitor operations of your PBX using Nagios system.
Supported WMS version: starting from 3.87
Created: December 2017
Step 1. Setup of nagios-nrpe-server agent
Access your PBX via SSH as root
Go to WMS and click on Terminal in the top secondary menu
Note: Terminal is available only for admin users.
Enter the following paramaters:
Note: type !1 in case you have Physical or Virtual PBX.
Add your Nagios server IP and relay host (in case NAT is deployed) to allowed hosts
Use the following command:
Add your Nagios server IP to allowed_hosts, separated by a comma:
where 192.168.0.100 is the IP address of Nagios server or (in case NAT is deployed) IP of a router which detects PBX
Note: In case you PBX and Nagios server are located in different networks, use Nagios server Public IP.
Enable nagios-nrpe-server autostart by using the following command:
Reboot your PBX using the following command:
Step 2. Setup of Nagios server
- Download the template file from http://wildix.com/image_pbx/pbx_template.cfg
- Rename pbx_template.cfg to <PBXname>.cfg, for instance, mypbx.cfg and copy it to Nagios server configuration folder. Location of this folder depends on your Nagios distribution. For example, /opt/nagios/etc/objects/ or
Edit Nagios configuration file with editor of your choice and add path to your cfg file in it:
Add “cfg_file=” parameter with path:
Step 3. Access to PBX for monitoring operations
To access your PBX for monitoring operations:
- Go to Nagios interface -> Current Status -> Hosts
Click on your PBX to open detailed information:
Click on View Status Detail For This Host to monitor available services that are active on PBX: