ping_exporter
Prometheus exporter for ICMP echo requests using https://github.com/digineo/go-ping
파일 탐색기
최종 버전 다운로드 (.zip)- docker.yml
- helm-release.yml
- lint.yml
- release.yml
- test.yml
- dependabot.yml
- config_test.yml
- config.go
- config_test.go
- duration.go
- target.go
- prometheus.rules
- test-connection.yaml
- _helpers.tpl
- configmap.yaml
- deployment.yaml
- ingress.yaml
- NOTES.txt
- prometheusrule.yaml
- rbac.yaml
- service.yaml
- serviceaccount.yaml
- servicemonitor.yaml
- .helmignore
- Chart.yaml
- values.yaml
- systemd-233.conf
- systemd-235.conf
- systemd-242.conf
- systemd-245.conf
- ping_exporter.service
- ping_exporter.yaml
- postinstall.sh
- postremove.sh
- preremove.sh
- MIT.txt
- snapcraft.yaml
- .gitignore
- .goreleaser.yml
- CODEOWNERS
- collector.go
- custom_labels.go
- Dockerfile
- go.mod
- go.sum
- helper.go
- k8sresolver.go
- LICENSE
- main.go
- main_other.go
- main_windows.go
- README.md
- resolver.go
- rttscale.go
- target.go
- target_test.go
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/czerwonk/ping_exporter
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd ping_exporter
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
$ docker run -p 9427:9427 -v /path/to/config/directory:/config:ro --name ping_exporter czerwonk/ping_exporter
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
