No commit activity in last 3 years
No release in over 3 years
Sensu plugins for google hangouts chat
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.7
~> 0.10
~> 10.5
~> 3.2
~> 3.4
~> 0.59.2
~> 0.16
~> 3.4
~> 0.9.11

Runtime

 Project Readme

sensu-plugins-hangouts-chat

Build Status Gem Version Maintainability Test Coverage

Files

  • bin/handler-hangouts-chat.rb

Usage

After installation, you have to set up a pipe type handler, like so:

{
  "handlers": {
    "hangouts_chat": {
      "type": "pipe",
      "command": "handler-hangouts-chat.rb"
    }
  }
}

This gem also expects a JSON configuration file with the following contents:

{
  "hangouts_chat": {
    "webhook_url": "YOUR_WEBHOOK_URL",
  }
}

Installation

Installation and Setup

Testing

cat <<EOF | bundle exec bin/handler-hangouts-chat.rb -u "WEBHOOK_URL"
{
  "client": {
    "name": "client"
  },
  "check": {
    "status": 1,
    "name": "name",
    "source": "source",
    "output": "Hello, warning"
  }
}
EOF