Git Product home page Git Product logo

adagios-lab's Introduction

Adagios LAB on Google Cloud Platform

This LAB contains Adagios server running Nagios 4, Adagios, OKconfig, Thruk and PNP4Nagios. The install script also uses OKconfig and pyNag to configure Nagios with some hosts, services, contactgroups and users. Adagios project website is at http://adagios.org

Installation

Create a project called adagios-lab-01 in GCP. Next step is to create the agents and Adagios server running on Centos 7. This setup also installs Nagios 4, Thruk, OKconfig and PNP4Nagios.

Adagios agents installation

Create two centos instances to work as agents that can be monitored by Adagios server

# Create server to monitor by Adagios, with preinstalled NRPE agent - Centos 7
gcloud beta compute --project=adagios-lab-01 instances create centos7-01 --machine-type=f1-micro --tags=adagios --image=centos-7-v20180523 --image-project=centos-cloud --metadata-from-file startup-script=scripts/install-adagios-agent.sh

# Create server to monitor by Adagios, with preinstalled NRPE agent - Windows Server 2016
gcloud beta compute --project=adagios-lab-01 instances create ws2016-01 --machine-type=n1-standard-1 --tags=adagios --image=windows-server-2016-dc-v20180508 --image-project=windows-cloud --boot-disk-size=50GB --metadata-from-file windows-startup-script-ps1=scripts/install-adagios-agent.ps1

Adagios server installation

gcloud beta compute --project=adagios-lab-01 instances create adagios-server --machine-type=f1-micro --tags=http-server,https-server,adagios --image=centos-7-v20180523 --image-project=centos-cloud --metadata-from-file startup-script=scripts/install-adagios-server.sh

Configure the firewall for the Adagios instances

gcloud compute --project=adagios-lab-01 firewall-rules create adagios --direction=INGRESS --priority=1000 --network=default --action=ALLOW --rules=tcp:5666,tcp:6557 --source-ranges=0.0.0.0/0 --target-tags=adagios

Next open up your browser and visit http://[adagios_server_external_ip]/adagios

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.