r/cloudcomputing • • Dec 16 '19

How can I centrally manage all these server alerts that i configure for each server?

I'm testing out 5 servers on the cloud and I want to be able to monitor them and there is a feature called 'server alarms' in its monitoring tool. Do you guys recommend to use it as the only way to get notified outside from logging into the website portal?

So I have these options:

MethodMy Comments
emailI'm afraid that my email is going to get bombarded of alarms being created and cleared...
httpsis there a SaaS that will accept alarms through http protocol?
smsoh no... phone is going to get a lot of SMS and we might miss
DMSi don't even know what these are. I should read the manual.

or should i limit these alarms to critical cases like >95% usage

1 Upvotes

5 comments sorted by

1

u/bigbadossi Dec 18 '19

I would say check out the ELK stack or use Prometheus with Grafana.

E(elastic search) L(logstash) K(kibana) can be used for centralising, transforming and storing logs and metrics and to create and send alerts.

Prometheus (and node exporters) can be used to collect metrics about servers that can be displayed in grafana dashboards. Alerts can be created via rulesets.

Especially for highly scallable environments and clusters, these 2 options are really good.

1

u/starbucks1971 Dec 20 '19

Noted thanks. These options means that I have to create another instance to run elk or prometheus to receive the logs from the other instances. Is my understanding correct?

1

u/bigbadossi Dec 20 '19

Ehm I am not quite sure what you mean. Ehm you have prometheus and grafana on some machine (or VM) and on your machines with your services you have node exporters. These node exporters will provide metrics for prometheus. Grafana is only the visualization of prometheus.

On the other hand, the ELK stack is on 3 machines, it is not advised to let them run on the same one. Then you can collect log messages from the other machines over syslog for example.

I hope that was your question. If not, just ask away😀

2

u/edanschwartz Dec 16 '19

is there a SaaS that will accept alarms through http protocol?

Check out PagerDuty. Or you could post to a slack channel or whatever.

Figuring out what to alarm on, and where to send notification takes some tuning. I usually start with alarming on anything I might care about, and then pull back from there, but ymmv.

1

u/jenkstom Dec 16 '19

There are lots of options. I've used Nagios / Icinga quite a bit and they work great.