Project

General

Profile

Feature #22184

Avatar?id=14398&size=50x50 Avatar?id=14398&size=22x22

Make Alerts Great Again!

Added by Kris Moore about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
No priority
Assignee:
Kris Moore
Category:
Middleware
Target version:
Estimated time:
(Total: 0.00 h)
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

Getting website and email alerts is so 90's when there are far many more interesting services we could be sending alerts out to. Creating this feature to track some ongoing work to make alerting much more useful in a variety of manners.

This is now ready for documentation. A new "Alerts" tab has been added, which allows the user to connect to a variety of services including Slack, HipChat, PagerDuty, VictorOps, OpsGenie and more.


Subtasks

Feature #22211: Add MiddlewareD plugin for Consul-AlertsResolvedJohn Hixson
Feature #22482: Create new "Alerts UI" tabResolvedMarcelo Araujo

Associated revisions

Revision d6c83cd9 (diff)
Added by Kris Moore about 4 years ago

My body is ready! Prepare to make alerts great again. Ticket: #22184 Specifically this commit does the following: - Enables consul in single node / master mode (For now) - Enables consul alerts - Updates alertcli.py to provide alert level (OK|WARNING|CRITICAL) - Registers "nas-health" check with consul that runs /usr/local/etc/consul-checks/freenas_health.sh periodically (120sec) - If this check finds an alert marked WARNING or CRITICAL it will mark the service as unhealthy, which triggers consul-alerts to do its thing with various service endpoints Incoming work will be done to expose the API for consul-alerts to middlewared and UI, allowing FreeNAS to alert via a variety of 3rd party services. New "service" health checks are also in the pipeline, stay tuned.

Revision 2ad1f60e (diff)
Added by Kris Moore about 4 years ago

Enable dnsmasq and create dnsmasq.d directory which will be initially used to forward .consul DNS queries Ticket: #22184

Revision 0b27ac3a (diff)
Added by Kris Moore about 4 years ago

Add consul.d.freenas directory with a NFS health check service. Next up will be to have these services sym-linked into /usr/local/etc/consul.d if the service is started / enabled Ticket: #22184

Revision 74ace303 (diff)
Added by Kris Moore about 4 years ago

Add middlewared plugin to allow get/set of Consul KV pairs Ticket: #22184

Revision 40cda8eb (diff)
Added by Kris Moore about 4 years ago

Enable the consul ui on localhost Ticket: #22184

Revision dacdc816 (diff)
Added by Kris Moore about 4 years ago

Enable the consul-alerts check/event watchers Ticket: #22184

Revision 5e2bafed (diff)
Added by Kris Moore about 4 years ago

Add consul-alert-checks and consul-alert-event rc.d scripts Ticket: #22184

Revision e0e54d00 (diff)
Added by William Grzybowski about 4 years ago

Fix rc file name Ticket: #22184

Revision b67c3087 (diff)
Added by William Grzybowski about 4 years ago

Somehow the file was not renamed in last commit Ticket: #22184

Revision 5f772c5f (diff)
Added by Kris Moore about 4 years ago

Move consul_dir -> /var/db/system/consul Ticket: #22184

History

#1 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Status changed from Unscreened to Fix In Progress

#2 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Status changed from Fix In Progress to Resolved

#3 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Description updated (diff)

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Target version changed from 9.10.3 to 11.0

#7 Updated by Vaibhav Chauhan about 4 years ago

  • Target version changed from 11.0 to 11.0-RC

Also available in: Atom PDF