GithubHelp home page GithubHelp logo

vazhnov / smokeping_nginx Goto Github PK

View Code? Open in Web Editor NEW
41.0 4.0 8.0 12 KB

Smokeping with Nginx — configuration examples

Home Page: https://gitlab.com/vazhnov/smokeping_nginx

License: MIT License

nginx configurations smokeping

smokeping_nginx's Introduction

Smokeping with Nginx

Configuration examples

Because links to images generates with /smokeping/, all configs use this path for static files and images.

simple.conf

Very simple, but main page not in /smokeping/, main page is http://smokeping.example.com/cgi-bin/smokeping.cgi

big.conf

Partialy used content of /etc/nginx/fastcgi_params, except of SCRIPT_FILENAME.

best.conf

Like big.conf, but with redirect from wrong URLs to main page.

Installing

Ubuntu / Debian

Note: apache2- argument is using here to force APT to not install apache2 package, which is in recommends list of smokeping package. It is also possible to use --no-install-recommends, but then other useful packages will not be installed automatically.

Replace here "smokeping.example.net" by your DNS name:

export MYSITENAME="smokeping.example.net"
sudo apt-get -V install smokeping apache2-
sudo apt-get -V install fcgiwrap nginx
wget 'https://gitlab.com/vazhnov/smokeping_nginx/-/raw/main/best.conf'
sed -i -- s/smokeping\.example\.com/${MYSITENAME}/g best.conf
sudo chown -v root:root best.conf
sudo mv -v best.conf /etc/nginx/sites-available/${MYSITENAME}.conf
sudo ln -v -s "../sites-available/${MYSITENAME}.conf" "/etc/nginx/sites-enabled/${MYSITENAME}.conf"
sudo nginx -t
sudo service nginx reload

Then open an URL http://smokeping.example.net/smokeping/smokeping.cgi in a web-browser.

Links

Useful links

Copyright

Distributed under MIT license.

smokeping_nginx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.