Coder Social home page Coder Social logo

ops-center / searchlight Goto Github PK

View Code? Open in Web Editor NEW
320.0 16.0 24.0 44.57 MB

๐Ÿ”ฆ Alerts for Kubernetes

Home Page: https://appscode.com/products/searchlight

License: Apache License 2.0

Go 86.28% Shell 7.18% Python 3.81% Smarty 0.13% HTML 2.07% Dockerfile 0.53%
kubernetes icinga2 docker alerting nagios cloud-native appscode

searchlight's Introduction

Go Report Card Build Status codecov Docker Pulls Slack Twitter

Searchlight

Searchlight by AppsCode is a Kubernetes operator for Icinga. If you are running production workloads in Kubernetes, you probably want to be alerted when things go wrong. Icinga periodically runs various checks on a Kubernetes cluster and sends notifications if detects an issue. It also nicely supplements whitebox monitoring tools like, Prometheus with blackbox monitoring can catch problems that are otherwise invisible, and also serves as a fallback in case internal systems completely fail. Searchlight is a CRD controller for Kubernetes built around Icinga to address these issues. Searchlight can do the following things for you:

  • Periodically run various checks on a Kubernetes cluster and its nodes or pods.
  • Includes a suite of check commands written specifically for Kubernetes.
  • Searchlight can send notifications via Email, SMS or Chat.
  • Supplements the whitebox monitoring tools like Prometheus.

Supported Versions

Please pick a version of Searchlight that matches your Kubernetes installation.

Searchlight Version Docs Kubernetes Version
8.0.0 (uses CRD) User Guide 1.9.x+ (test/qa clusters)
7.0.0 (uses CRD) User Guide 1.8.x
5.1.1 (uses CRD) User Guide 1.7.x+
3.0.1 (uses TPR) User Guide 1.5.x - 1.7.x

Installation

To install Searchlight, please follow the guide here.

Using Searchlight

Want to learn how to use Searchlight? Please start here.

Searchlight API Clients

You can use Searchlight api clients to programmatically access its CRD objects. Here are the supported clients:

Contribution guidelines

Want to help improve Searchlight? Please start here.


Searchlight binaries collects anonymous usage statistics to help us learn how the software is being used and how we can improve it. To disable stats collection, run the operator with the flag --enable-analytics=false.


Acknowledgement

  • Many thanks to Icinga project.

Support

We use Slack for public discussions. To chit chat with us or the rest of the community, join us in the AppsCode Slack team channel #searchlight_. To sign up, use our Slack inviter.

If you have found a bug with Searchlight or want to request for new features, please file an issue.

searchlight's People

Contributors

maximilize avatar mirshahriar avatar mmta avatar rubel90 avatar sajibcse68 avatar saumanbiswas avatar tahsinrahman avatar tamalsaha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

searchlight's Issues

Fix plugin

  • Some flag descriptions have copy/paste error.
  • pod_status, post-exists have new flags not present in data files. + icinga commands

Cleanup documentation

  • Move the instructions for creating TPR to developer section. Less task for users, less confusion.
  • Explain to users that they need to wait after Searchlight pod is deployed before creating alerts.

Secret namespace clarification

For json_path & influx_query, always use alert namespace as secret namespace.

Volume plugin is special because the secret is created when the cluster is provisioned. For hostfacts,
use 2 parameters

  • secretName
  • secretNamespace

hostalive command is not working

Handle non-responsive icinga

There is one problem with this. If the sidecar icinga has not started yet, this results in crashed operator container and eventual crashloop. We need a way to block for this, if we open connection in the beginning. Also, we need to be able to reconnect incase icinga pod crashed and restarted.

This resulted in our Chart failing tests. helm/charts#953 (comment)

Fix hash_function php.ini

user.warn: Jul 24 17:06:34 icingaweb2[59]: Could not set php.ini setting hash_function = true. This might affect your sessions behaviour.
user.warn: Jul 24 17:06:34 icingaweb2[59]: Could not set php.ini setting hash_bits_per_character = 5. This might affect your sessions behaviour.

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.