Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abbas-gheydi/prometheus-pager
Arduino ESP8266 sketch to receiving Prometheus alerts
https://github.com/abbas-gheydi/prometheus-pager
alerting-service devops iot promethues
Last synced: 22 days ago
JSON representation
Arduino ESP8266 sketch to receiving Prometheus alerts
- Host: GitHub
- URL: https://github.com/abbas-gheydi/prometheus-pager
- Owner: Abbas-gheydi
- License: mit
- Created: 2022-02-16T15:44:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-16T16:03:00.000Z (almost 3 years ago)
- Last Synced: 2023-04-09T14:23:06.291Z (almost 2 years ago)
- Topics: alerting-service, devops, iot, promethues
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About the project:
The "Prometheus Pager" is an Arduino sketch for ESP8266 microcontrollers.
It Checks Prometheus API frequently to check for any alerts status changes.
If it detects any alert then starts blinking, you can change the action from blinking to anything you want, like some buzzer alert or vibration and so on.
## What Do You Need Before the Beginning:
1 - an Arduino compatible ESP8266 board
2 - Arduino IDE
# How To Use:
You must add some dependency in the library manager of the Arduino IDE.
Open arduino IDE > file > preferences > Additional Boards manager URLs and paste
```
[http://arduino.esp8266.com/stable/package_esp8266com_index.json](http://arduino.esp8266.com/stable/package_esp8266com_index.json)
```
Then go to tools > Manage library > search and install 'ESP8266' library
Open Prometheus.ino and edit this value to connect to your wireless and Prometheus server
```
#define WIFISSID "YOUR WIFI SSID"
#define PASSWORD "WIFI PASSWORD"
String URLADDR = "http://192.168.1.10:9090/api/v1/alerts"; //promthues address
```
Then Click On Verify and Upload.
## License
MIT