EFSwitch Monitoring Dashboards
This document illustrates deployment of EFSwitch monitoring dashboards in monitoring solution.
Before you begin, verify
- Have already set up monitoring solution. If not yet, see Monitoring Solution Deployment
Clone the Expertflow CX repository
git clone -b CX-4.9_f-CCC-1678 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git CX-4.9_f-CCC-1678
Create a Namespace
kubectl create ns monitoring
cd cim-solution/kubernetes/monitoring
Adding EFSwitch IP
Please Update the EFSwitch IP in
additionalScrapeConfigs:
section invalues.yaml
, for Prometheus to start fetching statistics from exporters running on EFSwitch node .- CODE
- job_name: "node" static_configs: - targets: ["<IP>:9100"] - job_name: 'freeswitch' static_configs: - targets: ["<IP>:9282"] - job_name: 'fusionpbx' scrape_interval: 60s static_configs: - targets: ['<IP>:8080']
Considerations to cater for when changing values file values.yaml
Replace all occurrences of
devops.ef.com
to FQDN. You can usesed -i -e 's/devops.ef.com/<FQDN>/g' values.yaml
Upgrading Monitoring Solution
run the following helm command to upgrade the monitoring solution to new version.
helm upgrade --namespace monitoring --install=true kube-stack-prometheus --values=values.yaml .
Verify Dashboards
Open the following link in the browser to visit Grafana dashboards.
<FQDN>/monitoring
search dashboards with names including “EFswitch“ to verify each dashboard is reflecting data.