alertmanager
MagicMirror
Our great sponsors
alertmanager | MagicMirror | |
---|---|---|
13 | 163 | |
6,270 | 18,985 | |
1.5% | 1.1% | |
9.2 | 8.5 | |
8 days ago | 7 days ago | |
Go | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
alertmanager
-
My Raspberry Pi 4 Dashboard
- Alert Manager
-
Uptime monitoring (~1000 urls)
You could use prometheus as a monitoring tool, blackbox_exporter to "export" the urls to prometheus, alertmanager for notifications, and grafana for nice gui dashboards (and maybe also notifications).
-
Alertmanager with SNS Topic
I found this other example below from this repo https://github.com/prometheus/alertmanager/issues/2559, but it is neither working.
-
Ultra Monitoring with Victoria Metrics
vmalert: executes a list of the given alerting or recording rules against configured data sources. For sending alerting notifications vmalert relies on configured Alertmanager. Recording rules results are persisted via remote write protocol. vmalert is heavily inspired by Prometheus implementation and aims to be compatible with its syntax
-
Can Prometheus act similar to OPC A&E server?
Yes, I believe you can do all of what you're looking for without a UI. The alertmanager api has the ability to register receivers as well as to poll for alerts, silence them, etc: https://github.com/prometheus/alertmanager/blob/main/api/v2/openapi.yaml
-
Customize Pushovert alerts ?
I found it, unfortunately it doesn't help.
-
Part I: EC2 with Prometheus
#cloud-config # environment: ${environment} runcmd: # install AWS CLI, neeeded for downloading of configuration files - | apt-get update && apt-get install unzip -y curl -Lo awscli.zip https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip unzip awscli.zip ./aws/install rm awscli.zip # install prometheus binary - | curl -Lo prometheus.tar.gz https://github.com/prometheus/prometheus/releases/download/v2.33.1/prometheus-2.33.1.linux-arm64.tar.gz tar -xvf prometheus.tar.gz cp ./prometheus-2.33.1.linux-arm64/prometheus /usr/local/bin/prometheus rm -rf ./prometheus-2.33.1.linux-arm64 rm -rf prometheus.tar.gz # install alertmanager binary - | curl -Lo alertmanager.tar.gz https://github.com/prometheus/alertmanager/releases/download/v0.23.0/alertmanager-0.23.0.linux-arm64.tar.gz tar -xvf alertmanager.tar.gz mv ./alertmanager-0.23.0.linux-arm64/alertmanager /usr/local/bin/alertmanager rm -rf alertmanager-0.23.0.linux-arm64 rm alertmanager.tar.gz # vait for EBS volume - | while [ ! -b $(readlink -f /dev/nvme1n1) ]; do echo "waiting for device /dev/nvme1n1" sleep 5 done # format volume blkid $(readlink -f /dev/nvme1n1) || mkfs -t ext4 $(readlink -f /dev/nvme1n1) # create a mount mkdir -p /data if ! grep "/dev/nvme1n1" /etc/fstab; then echo "/dev/nvme1n1 /data ext4 defaults,discard 0 0" >> /etc/fstab fi # mount volume mount /data # enable and start systemd services - | systemctl daemon-reload systemctl enable prepare-prometheus.service && systemctl start prepare-prometheus.service && sleep 10 systemctl enable prometheus.service && systemctl start prometheus.service systemctl enable alertmanager.service && systemctl start alertmanager.service write_files: - path: /usr/local/bin/prepare-prometheus permissions: '0744' content: | #!/bin/sh mkdir -p /etc/prometheus aws s3 cp s3://${s3_bucket}/prometheus.yaml /etc/prometheus/prometheus.yaml aws s3 cp s3://${s3_bucket}/alertmanager.yaml /etc/prometheus/alertmanager.yaml aws s3 cp s3://${s3_bucket}/prometheus.rules.yaml /etc/prometheus/prometheus.rules.yaml curl -X POST http://localhost:9090/-/reload || true - path: /etc/systemd/system/prepare-prometheus.service content: | [Unit] Description=Prepare prometheus / alertmanager configuration Wants=network-online.target After=network-online.target [Service] Type=oneshot ExecStart=/usr/local/bin/prepare-prometheus # please note data.mount in dependencies - path: /etc/systemd/system/prometheus.service content: | [Unit] Description=Prometheus Wants=network-online.target After=network-online.target data.mount prepare-prometheus.service [Service] Type=simple ExecStart=/usr/local/bin/prometheus \ --config.file /etc/prometheus/prometheus.yaml \ --storage.tsdb.path /data/ \ --web.enable-lifecycle \ --web.console.templates=/etc/prometheus/consoles \ --web.console.libraries=/etc/prometheus/console_libraries \ --enable-feature=remote-write-receiver [Install] WantedBy=multi-user.target - path: /etc/systemd/system/alertmanager.service content: | [Unit] Description=Alert Manager Wants=network-online.target After=network-online.target data.mount prepare-prometheus.service [Service] Type=simple ExecStart=/usr/local/bin/alertmanager \ --config.file /etc/prometheus/alertmanager.yaml \ --storage.path=/data/ [Install] WantedBy=multi-user.target
- Prometheus trigger script on alert
-
Is this a terrible way of getting timezone awareness into my Prometheus alerts?
Prometheus recently added native support for time ranges in the alerting config https://github.com/prometheus/alertmanager/issues/876
-
It took almost a full day, but I finally got a decent homelab diagram :D Feedback is most welcome!
Prometheus)Alertmanager: https://github.com/prometheus/alertmanager | https://prometheus.io/
MagicMirror
-
Show HN: FrameOS – operating system for single function smart frames
I use MagicMirror to do this. It's a great piece of software. I'm a bit shocked nobody has mentioned this yet. https://magicmirror.builders/
-
Software for wall clock?
The most used solution it’s https://magicmirror.builders/
-
Ask HN: What software did you purchase that positively impacted your family life
I’m planning on using MagicMirror (https://magicmirror.builders/) to do this in my kitchen but without the mirror part (just a TV mounted in a niche on the wall). Did you build your software from scratch?
-
"Dementia" Dashboard?
Check out Magic Mirror. Could be what you're looking for. https://github.com/MichMich/MagicMirror
-
32“ E Ink screen that displays daily newspapers on your wall
Would this work with magic mirror?
https://magicmirror.builders/
If so I will order right away
-
Smart display with text lines
Have a look at the Magic Mirror project https://magicmirror.builders/
-
Clock web app with weather and photos to recycle an old iPad 2
You could also look into something like MagicMirror. not sure if you have a server to host, or looking for just local on iPad.
- Are any C# coders here?
-
The search for the definitive DIY photo frame software
The final option seems to be basically homebrewing a solution using a program like MagicMirror and local image files installed on the pi. There quite a few guides out there on different ways to do this. But
-
/u/KaiserTom breaks down the results of SETI@home, the big data citizen science project from the 90s/2000s
You can still participate in distributed computing projects, just check out Science United which is one that uses BOINC for the project management. I've got it running on my Raspberry Pi (which primarily runs Magic Mirror so its nice to let somebody else get some benefit since its primarily a relatively static display). Also, Folding@Home did do some of the research into COVID, so it is staying up to date.
What are some alternatives?
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
MMM-Wallpaper - MagicMirror module to display wallpapers from various online sources
loki - Like Prometheus, but for logs.
MMM-BackgroundSlideshow
synology-notifications - Synology notifications service
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
node_exporter - Exporter for machine metrics
motioneye - A web frontend for the motion daemon.
NPushOver - Full fledged, async, .Net Pushover client
MMM-RTSPStream - MagicMirror² module for streaming an RTSP video stream from a security camera to your MagicMirror.
rook - Storage Orchestration for Kubernetes
DietPi - Lightweight justice for your single-board computer!