- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 251
 
Quick Install

This document provides guidance, packages and details to get HOMER installed & running
- π Docker Install (easiest)
 
- π Manual Install (easy)
 - π Quick Install (easier)
 - π Docker Install (easiest)
 
- π HEP Capture Agents
 - π HEP Grafana Integration
 
Found an problem with this guide? Please open an issue and help us improve!
Homer and its components can easily be installed manually in just minutes.
Install the sipcapture repository for Debian/Ubuntu:
curl -s https://packagecloud.io/install/repositories/qxip/sipcapture/script.deb.sh?any=true | sudo bash
Install the latest package
apt install heplify
apt install heplify-serverapt install homer-app
Install the sipcapture repository for CentOS/EL 7:
curl -s https://packagecloud.io/install/repositories/qxip/sipcapture/script.rpm.sh?any=true | sudo bash
yum install heplify
yum install heplify-serveryum install homer-app
- Configure Homer Capture Server
/opt/heplify-server/heplify-server.toml- Example Configuration
 - Configure DB connectors
- Postgres
 - Loki (optional)
 - Prometheus Metrics Endpoint
 
 
 - Configure Homer Application
/usr/local/homer/etc/webapp_config.json- Example Configuration
 - Configure DB connectors
- Postgres
 - Prometheus API (optional)
 - InfluxDB API (optional)
 - Loki API (optional)
 
 
 
Adjust with your database credentials, and execute the following commands to setup the backend components:
homer-app -create-config-db -database-root-user=postgres -database-host=localhost -database-root-password=postgres -database-homer-user=homer_user
homer-app -create-data-db -database-root-user=postgres -database-host=localhost -database-root-password=postgres -database-homer-user=homer_user
homer-app -create-table-db-config 
homer-app -populate-table-db-config 
homer-app -upgrade-table-db-config 
systemctl start heplify-server
systemctl start homer-app
You should now be able to access your HOMER instance via HTTP on port 9080 and send HEPv3 traffic to port 9060/UDP or 9061/TCP (note ports can be modified by the configuration)

A script is provided to deploy the baseline elements with minimal interaction on a vanilla server: https://github.com/sipcapture/homer-installer
Quick install currently supports modern debian and centos based operating systems.
Make sure the script is executed as root on a netinstall vanilla server:
for Debian
apt-get install libluajit-5.1-common libluajit-5.1-dev lsb-release wget curl git
For CentOS
yum install redhat-lsb-core wget curl git
then Download Homer Installer script
wget https://github.com/sipcapture/homer-installer/raw/master/homer_installer.sh
chmod +x homer_installer.sh
./homer_installer.sh
A set of docker-compose bundles is provided to bootstrap a full Homer 7.7 deployment including optional elements:
https://github.com/sipcapture/homer7-docker
This procedure requires docker and docker-compose installed on the target system.
git clone https://github.com/sipcapture/homer7-docker
cd homer7-docker/heplify-server/hom7-prom-all
docker-compose up -d
- Homer:9080 (admin/sipcapture)
 - Grafana:9030 (admin/admin)
 - Prometheus:9090 (admin/admin)
 - Loki:3100 (admin/admin)
 - Alertmanager:9093 (admin/admin)
 
You should now be able to access your HOMER instance via HTTP on port 9080 and send HEPv3 traffic to port 9060/UDP or 9061/TCP (note ports can be modified by the docker-compose configuration)

Ready to ship data to Homer? Install a HEP Capture Agent based on your needs and preferences:
- 
HEPlify: CA developed in go, portable, near zero configuration
 - 
CaptAgent: CA developed in C, ideal for complex configurations
 - 
Native: Native HEP Agents are available in OpenSIPS, Kamailio, Asterisk, Freeswitch, RTP:Engine and many more. Consult the Wiki to get specific examples for your platform.
 - 
Event Agents: HOMER can collect, index and correlate non-packet events such as Logs, RTC stats, CDRs, and more using HEP supported by a variety of tools such as paStash and Telegraf
 
Deploying HOMER alongside Grafana?
Import the HOMER Preset Dashboards & Widgets to get started with standard KPIs in seconds.
Made with β€οΈ by Humans
(C) 2008-2021 QXIP BV
If you use HOMER in production, please consider supporting the project with a Donation
(C) 2008-2023 QXIP BV

HEP/EEP Agent Examples:
- CaptAgent
 - HEPlify
 - Kamailio
 - OpenSIPS
 - FreeSwitch
 - Asterisk
 - sipgrep
 - sngrep
 - RTPEngine
 - RTPProxy
 - Oracle ACME SBC
 - Sonus SBC
 - Avaya SM
 - Sansay SBC
 
HEP/EEP Agent Examples (LOGS):
HEP/EEP Proxy:
Extra Examples:
- Custom JSON Stats
 - RTCP-XR Stats
 - GEO IP Maps
 - Janus/Meetecho-WebRTC
 - Cloudshark Export
 - Encrypted HEP Tunneling
 - SNMP Monitoring
 - FreeSWITCH ESL Monitoring
 - Kazoo Monitoring
 - Speech-to-Text-to-HEP
 
Extra Resources:

