Giter Site home page Giter Site logo

iis-service-monitor's Introduction

iis-service-monitor

This is a .Net port of IIS ServiceMonitor. It was originally written because there was a bug with uppercasing environment variable keys in the C++ implementation from Microsoft. This implementation fixes that bug.

This repo is accompanied by a blog post.

Usage

$ docker build --rm -t your_company/dotnet/framework/aspnet:4.7.2 -f Dockerfile .
$ docker tag your_company/dotnet/framework/aspnet:4.7.2 your_company/dotnet/framework/aspnet:latest  

From here you can push it to your own docker hub or use it directly in a Dockerfile on you machine as a base image.

Better logging

There is better console logging in this version of the IIS ServiceMonitor. If you run a docker container that is using the .Net ServiceMontior with the environment variable SERVICEMONITOR__Logging__LogLevel__Default you can set it to Trace or Debug and get more detailed console output.

Samples

$ docker build --rm -t solid/demo/website-with-service-monitor -f Dockerfile_WebsiteWithServiceMonitor .
$ docker build --rm -t solid/demo/website-without-service-monitor -f Dockerfile_WebsiteWithoutServiceMonitor .
$ docker run -d --rm -p 8081:80 -e some_environment_variable='value' solid/demo/website-with-service-monitor:latest
$ docker run -d --rm -p 8082:80 -e some_environment_variable='value' solid/demo/website-without-service-monitor:latest

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.