Added exporter for Grandmaster, borderClocl and client clock
This commit is contained in:
5
exporters/examples/nexus-ptp-exporter.env
Normal file
5
exporters/examples/nexus-ptp-exporter.env
Normal file
@@ -0,0 +1,5 @@
|
||||
# /etc/default/nexus-ptp-exporter
|
||||
NEXUS_HOST=10.255.255.255
|
||||
NEXUS_NAME=NYATER
|
||||
NEXUS_USER=prometheus
|
||||
NEXUS_KEY_FILE=/opt/ptp-exporter/.ssh/id_ed25519
|
||||
18
exporters/examples/prometheus.yml
Normal file
18
exporters/examples/prometheus.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
scrape_configs:
|
||||
- job_name: "ptp-linux"
|
||||
scrape_interval: 10s
|
||||
static_configs:
|
||||
- targets:
|
||||
- GrandMaster:9559
|
||||
- BoundaryClock:9559
|
||||
- server-a:9559
|
||||
- server-b:9559
|
||||
|
||||
# nexus_ptp_exporter.py runs on a Linux monitoring host and polls NYATER via SSH.
|
||||
- job_name: "ptp-nexus"
|
||||
scrape_interval: 15s
|
||||
static_configs:
|
||||
- targets:
|
||||
- prometheus-host:9560
|
||||
|
||||
|
||||
Reference in New Issue
Block a user