Monitor GPSD with Prometheus
Project description
gpsd_prometheus_exporter
Prometheus Exporter for GPSD
Prereqs
- python
- pip
- USB GPS device compatible with gpsd
- gpsd installed and running
It's a good idea to make sure that gpsd is working and reporting data. Verify using gpsmon or similar:
Usage Instructions
gpsd-exporter --help
Usage: gpsd-exporter [OPTIONS]
Options:
-b, --bind TEXT Specify alternate bind address [default: 0.0.0.0]
-p, --port INTEGER Specify alternate port [default: 8000]
-d, --debug Turns on more verbose logging, prints output [default:
False]
--help Show this message and exit.
Example
Start the exporter on all addresses and port 9999:
gpsd-exporter -b 0.0.0.0 -p 9999
Adding this exporter to Prometheus
- job_name: gps
static_configs:
- targets: ['boat-pi:8000']
labels:
group: 'gps'
location: 'Boat'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gpsd_prometheus_exporter-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2fa0fa9f9f2ac090ae9ce82dcbb4cd0a692e78472879b85f38b8165326b1e46 |
|
MD5 | a47c69995cf5b3395c4593468b69d39a |
|
BLAKE2b-256 | 04fe15de0a6cf859083002679e1428d438d4f56d88dab3bfbf7772e8cb0428ab |
Close
Hashes for gpsd_prometheus_exporter-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79493995d97930a0582990186fbd47fa799924453216fbe1399f9134f4836f5c |
|
MD5 | aee317687d4a78317c30c8ff58fd3b97 |
|
BLAKE2b-256 | 28731e99fe675504790cd1de7f88ecf2ce816e6c8e4c661cb70f7fb849e0c839 |