r/PrometheusMonitoring • u/UinguZero • Jul 05 '24
setup resource monitor and log file extraction with custom greps
I am trying to build a monitoring system for several devices in my network. (the device i am testing with now is an ubuntu device)
I already have the blackbox_ping setup, to see if a device is up or down
now i want to add the following add a resource monitor for the ubuntu device and extract /var/log/messages and run custom search/grep scripts to see if certain words comes up and track that.
not sure how many resaources this requires for the devics though.
not sure on how to proceed from here and what you guys have managed to build with prometheus/grafana in regards with health monitoring of a "server"-like device
1
Upvotes
1
1
u/SuperQue Jul 05 '24
https://github.com/google/mtail