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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.