Prometheus, nginx exporter install and set up

Posted on Sunday, August 27, 2017




I have a need to do some simple monitoring of an nginx server.  All I really want to do at the end of the day is monitor the number of 404, 500s, and 200 codes coming across my log files in nginx.

It would not be too difficult to write something that monitors logs and creates a /metrics page for Prometheus.   But I want to try one of the already made exporters out there to see how well they work.

The one I am going to try out is the Prometheus metric library for NGINX https://github.com/knyar/nginx-lua-prometheus  [1]


Install NodeJS 6.x LTS on Ubuntu 16.04

Posted on Wednesday, July 26, 2017




    



This is a quick write up on how to install NodeJS 6.x LTS on Ubuntu 16.04 using the apt-get install tool.


SystemD with NodeJS

Posted on Sunday, July 9, 2017



I want to run a nodeJS application via SystemD.   These will be my simple notes on how to do this.





Installing MongoDB on Ubuntu 16.04

Posted on Saturday, July 8, 2017


In this tutorial I am going to be installing MongoDB 3.4 on Ubuntu 16.04 and fiddle with it a little.

Checking the default install for mongoDB on Ubuntu 16.04


  > sudo apt-cache madison mongodb



Looks like it installs 2.6.10, since I want 3.4, I can't use a simple apt-get.

SystemD and Gollum Wiki

Posted on Tuesday, May 30, 2017









I want to set up my Gollum wiki server to be started/stopped/rebooted via SystemD.   Using SystemD I also want it to restart if it should crash.