All Projects → apostvav → kannel_exporter

apostvav / kannel_exporter

Licence: GPL-3.0 license
Kannel exporter for Prometheus

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to kannel exporter

jmx exporter-cloudera-hadoop
Prometheus jmx_exporter configurations for Cloudera Hadoop
Stars: ✭ 33 (+135.71%)
Mutual labels:  prometheus-exporter
version exporter
Monitor the versions of the things you run and care about
Stars: ✭ 16 (+14.29%)
Mutual labels:  prometheus-exporter
planet-exporter
🚀 Determine server network dependencies along with required bandwidth
Stars: ✭ 17 (+21.43%)
Mutual labels:  prometheus-exporter
gethexporter
Monitor your Geth Ethereum Server with Prometheus and Grafana
Stars: ✭ 103 (+635.71%)
Mutual labels:  prometheus-exporter
dex
Prometheus Docker EXporter
Stars: ✭ 19 (+35.71%)
Mutual labels:  prometheus-exporter
bamboo-prometheus-exporter
Prometheus Exporter For Bamboo
Stars: ✭ 18 (+28.57%)
Mutual labels:  prometheus-exporter
pagerduty-exporter
Prometheus exporter for PagerDuty informations
Stars: ✭ 38 (+171.43%)
Mutual labels:  prometheus-exporter
bitnami-docker-mongodb-exporter
Bitnami Docker Image for MongoDB Exporter
Stars: ✭ 22 (+57.14%)
Mutual labels:  prometheus-exporter
ansible-prometheus
Ansible role for the management of Prometheus software and Prometheus exporters
Stars: ✭ 63 (+350%)
Mutual labels:  prometheus-exporter
metrics-server-prom
Prometheus adapter to scrape from Kubernetes metrics-server
Stars: ✭ 22 (+57.14%)
Mutual labels:  prometheus-exporter
pika exporter
Prometheus expoter for Qihoo360/Pika metrics. Suppots Pika 2.x, 3.x
Stars: ✭ 39 (+178.57%)
Mutual labels:  prometheus-exporter
node exporter
Exporter for machine metrics
Stars: ✭ 7,897 (+56307.14%)
Mutual labels:  prometheus-exporter
rpi exporter
A Raspberry Pi CPU temperature exporter.
Stars: ✭ 57 (+307.14%)
Mutual labels:  prometheus-exporter
mq-java-exporter
Exporter for IBM MQ metrics https://prometheus.io/
Stars: ✭ 19 (+35.71%)
Mutual labels:  prometheus-exporter
macropower-analytics-panel
It's like Google Analytics, but for Grafana dashboards!
Stars: ✭ 16 (+14.29%)
Mutual labels:  prometheus-exporter
prometheus-async
Async helpers for prometheus_client.
Stars: ✭ 136 (+871.43%)
Mutual labels:  prometheus-exporter
cratedb-prometheus-adapter
CrateDB Prometheus Adapter
Stars: ✭ 53 (+278.57%)
Mutual labels:  prometheus-exporter
exportarr
AIO Prometheus Exporter for Sonarr, Radarr or Lidarr
Stars: ✭ 119 (+750%)
Mutual labels:  prometheus-exporter
exporter-toolkit
Utility package to build exporters
Stars: ✭ 139 (+892.86%)
Mutual labels:  prometheus-exporter
ansible-process exporter
Provision process exporter for prometheus monitoring tool
Stars: ✭ 16 (+14.29%)
Mutual labels:  prometheus-exporter

Kannel Exporter

GitHub Actions status

Kannel exporter for Prometheus. Exposes metrics collected from the kannel status page.

Works with Kannel 1.4.4 or greater.

⚠️ Consider disabling smsc metrics collection by using the --filter-smscs flag or by dropping metrics on Prometheus server. On big setups, high cardinality metrics will be produced.

Usage

kannel_exporter.py [-h] [--target TARGET] [--port PORT]
                   [--filter-smscs] [--collect-wdp]
                   [--collect-box-uptime] [--collect-smsc-uptime]
                   [--box-connection-types BOX_CONNECTIONS [BOX_CONNECTIONS ...]]
                   [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [-v]
                   [--password PASSWORD | --password-file PASSWORD_FILE]

Arguments

  -h, --help             show this help message and exit
  --target TARGET        Target kannel server, PROTO:HOST:PORT
                         (default http://127.0.0.1:13000)
  --port PORT            Exporter port. (default 9390)
  --filter-smscs         Filter out SMSC metrics
  --collect-wdp          Collect WDP metrics
  --collect-box-uptime   Collect boxes uptime metrics
  --collect-smsc-uptime  Collect SMSCs uptime metrics
  --box-connection-types List of box connection types. (default wapbox, smsbox)
  --log-level LEVEL      Define the logging level
  -v, --version          Display version information and exit
  --password PASSWORD    Password of the kannel status page
  --password-file FILE   File contains the kannel status password

Environment Variables

Instead of command line arguments, values can be passed using environment variables.

--target    KANNEL_HOST
--password  KANNEL_STATUS_PASSWORD
--port      KANNEL_EXPORTER_PORT

Install

Collector is written in Python3. It is not compatible with Python2.

git clone https://github.com/apostvav/kannel_exporter.git
cd kannel_exporter
pip install -r requirements.txt

Docker

Run exporter using docker.

docker pull apostvav/kannel_exporter
docker run -d -p 9390:9390 apostvav/kannel_exporter

Run as a service

If you're on a systemd distro, create file /etc/systemd/system/kannel_exporter.service with content:

[Unit]
Description=Kannel Exporter
Wants=network-online.target
After=network-online.target

[Service]
User=<USER>
Group=<GROUP>
ExecStart=/path/to/kannel_exporter.py --password-file /path/to/secret

[Install]
WantedBy=multi-user.target

and then run the commands:

systemctl daemon-reload
systemctl start kannel_exporter.service
systemctl enable kannel_exporter.service

Contribute

Any contribution is welcome. Feel free to open issues and pull requests.

For any scraping issues you may have, please open an issue and attach the status xml file.
Don't forget to strip any information that should not be shared.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].