cmd

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "redalert",
	Short: "Monitor infrastructure and trigger alerts",
	Long: `For monitoring your infrastructure and sending notifications if stuff is not ok.

CHECKS:
*  website monitoring & latency measurement (check type: web-ping)
*  server metrics from local machine (check type: scollector)
*  Docker container metrics (check type: docker-stats)
*  Docker container metrics from remote host via SSH (check type: remote-docker)
*  Postgres counts/stats via SQL queries (check type: postgres)
*  TCP connectivity monitoring & latency measurement (check type: tcp)
*  execute local commands & capture output (check type: command)
*  execute remote commands via SSH & capture output (check type: remote-command)

ALERTS:
*  email (gmail)
*  SMS (twilio)
*  Slack (slack)
*  unix stream (stderr)
`,
}

RootCmd configures the CLI

Functions

func Execute

func Execute()

Execute parses the required flags and commands for the CLI

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL