GithubHelp home page GithubHelp logo

directconnectmonitor's Introduction

DirectConnectMonitor

AWS Direct Connect Monitor

The script deploys a EC2 instance into each AWS VPC that has subnets connect to company's on premise network.

Deploy DX Monitor Instances

Log into your Master AWS Account.

Distribute NetworkMonitorRole.yaml with CloudFormation StackSet.

Run dxteser.py with Python3. The script creates a EC2 instance in target AWS account with connection to your on premise network. The target accounts should be provided in account.csv file. The CSV content looks like below.

accountid
123456789011
123456789012

The script checks existing stacks and output the instances IP to beacon-ec2.csv. The CSV file then can be used to create/update PRTG sensors.

Create or Update PRTG Sensors

Install PrtgAPI from https://github.com/lordmilko/PrtgAPI.

Run Connect-PrtgServer -Server prtg.contoso.com to connect to PRTG

Run add-dxmonitors.ps1 against beacon-ec2.csv to create or update the PRTG sensors.

NetworkMonitorRole.yaml

Stack to provision the Cross Account Role in all target accounts. The role is distributed by CloudFormation StackSet. Change this template to add or revoke permissions.

ec2.yaml

Stack to provision the beacon EC2 instance. The instace hosts a simple http site and allows for HTTP and ICMP sensor monitoring from PRTG

directconnectmonitor's People

Contributors

tomkingchen avatar

Watchers

 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.