Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ma-karai/nginxproxymanagerGraf
A Python/Shell connector for Nginx Proxy Manager (Docker)
https://github.com/ma-karai/nginxproxymanagerGraf
Last synced: about 1 month ago
JSON representation
A Python/Shell connector for Nginx Proxy Manager (Docker)
- Host: GitHub
- URL: https://github.com/ma-karai/nginxproxymanagerGraf
- Owner: ma-karai
- Fork: true (Festeazy/nginxproxymanagerGraf)
- Created: 2021-02-13T12:35:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T10:36:37.000Z (almost 2 years ago)
- Last Synced: 2024-02-14T21:52:49.403Z (10 months ago)
- Language: Shell
- Size: 413 KB
- Stars: 100
- Watchers: 5
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- stars - nginxproxymanagerGraf - karai | 125 | (Shell)
- stars - nginxproxymanagerGraf - karai | 125 | (Shell)
README
# nginxproxymanagerGraf
some good readme is needed :)
required things you do beforehand
1) create influxdb nginxproxymanagergraf
2) Create username and password for nginxproxymanagergraf
3) get your GeoLite2-City.mmdb google is your friend upload it somewhere where you'll find it
4) Start the docker container
5) Add data source into grafana
6) Import the dashboard file and set the new data sourcestart docker on the same host where nginx proxy manger runs
```
docker run --name npmgraf -it
-v /home/docker/nginx-proxy-manager/data/logs:/logs \
-v /home/docker/nginx-proxy-manager/GeoLite2-City.mmdb:/GeoLite2-City.mmdb \
-e HOME_IPS="192.168.0.*\|192.168.10.*" \
-e INFLUX_USER=admin -e INFLUX_PW=password \
-e INFLUX_DB=nginxproxymanagergraf \
-e INFLUX_HOST=192.168.0.189 \
-e INFLUX_PORT=8086 \
makarai/nginx-proxy-manager-graf
```world map
```
SELECT count("IP") AS "counts" FROM "ReverseProxyConnections" WHERE $timeFilter GROUP BY "latitude", "longitude", "IP"
```Obviously I'd appreciate a grafana Wiz to add some things here :) first time i worked with grafana.
https://github.com/jc21/nginx-proxy-manager
![nginx](https://github.com/ma-karai/nginxproxymanagerGraf/blob/master/Screenshot%202021-02-14%20142221.png?raw=true)