Giter Club home page Giter Club logo

foreman_monitoring's Introduction

Foreman Monitoring Plugin

This is a Foreman plugin for monitoring system integration. It allows to manage hosts and downtimes and to display status information from the monitoring solution.

It requires the Smart Proxy plugin monitoring for communication with the monitoring system. See its documentation for supported monitoring solutions and detailed configuration instructions.

Installation

See How_to_Install_a_Plugin for how to install Foreman plugins.

The gem name is foreman_monitoring.

RPM users can install the tfm-rubygem-foreman_monitoring package.

Deb users can install the ruby-foreman-monitoring package.

If using the gem as installation source database enhancement and service restart must be done manually.

foreman-rake db:migrate
foreman-rake db:seed
touch ~foreman/tmp/restart.txt

Compatibility

Foreman Version Plugin Version
>= 1.15 ~> 0.1
>= 1.17 ~> 1.0
>= 2.0 ~> 2.0
>= 2.2 ~> 2.1
>= 3.0 ~> 3.0

Usage

For managing a host in the monitoring solution a Smart Proxy providing the monitoring feature has to be assigned. This can be done during provisioning or as a bulk action from the host overview.

You can configure the default action which will be done during host provisioning and de-provisioning. Provisioning allows to create a monitoring object or take no action while de-provisoning allows deleting the monitoring object, set a downtime or take no action. For rebuild, it will by default set a downtime.

The plugin will show you the monitoring status as a sub-status and a detail panel. You can configure if the sub-status should affect the global status.

Furthermore, it allows to individually set a downtime at the host detail view or as a bulk action from the host overview.

Troubleshooting

Logging entries relevant to the plug-in will be located in the Foreman's log which is by default /var/log/foreman/production.log.

Also, check the troubleshooting section of the Smart Proxy plug-in if problems occur in the underlying communication.

Contributing

Fork and send a Pull Request. Thanks!

Copyright

Copyright (c) 2016 The Foreman developers

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

foreman_monitoring's People

Contributors

timogoebel avatar dgoetz avatar mmoll avatar ekohl avatar ananace avatar evgeni avatar stejskalleos avatar ezr-ondrej avatar kamils-ironin avatar ares avatar mirekdlugosz avatar tbrisker 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.