Skip to content

ma-karai/nginxproxymanagerGraf

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 1 commit behind Festeazy:master.

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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 source

start 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

About

A Python/Shell connector for Nginx Proxy Manager (Docker)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 46.1%
  • Python 30.7%
  • Dockerfile 23.2%