I am new to elastic. What is the ideal way to setup server monitoring to know when a server is down?
I can see several ways to achieve this:
Alternatively, if you want to monitor your server's metrics anyway, you could use the metrics app, which uses metricbeat or the elastic agent to fetch metrics of servers and services.
You should be able to use either to set up alerts that fire when a host is not reachable or doesn't submit metrics anymore. The former is tailored to the specific uptime monitoring use-case while the latter focuses on metric monitoring.
Hope this helps a bit. Please let me know if there are any follow-up questions.