Hello all,
Wondering what you all do/use for monitoring logs on your boards.
I have a few terminals open to "tail" various logs on my system
(running Synchronet). Been doing it that way for a long while, and it works fine, I guess.
Has anyone used the 'lnav' utility to watch logs? It's pretty slick,
has LOTS of options, and I like the use of colors in logs to help
things "jump out" at you. If anyone is using this, and has taken the
time to customize the look/feel of how it displays, would you comment
on how you're using it, and would you maybe be willing to share your custom config that I could use as a starting point to learn how it's
done?
Appreciate any input you may have!
I do have another dashboard that I'm working on. It has number of connections over time, number of connections by IP address, and a few other things.
doing this via logs is not all that efficient, though. At some point I'll likely create some kind of prometheus exporter to just scrape data, rather than forcing grafana to parse its entire history of logs (only 48 hours worth on the free tier) to display data.
Grafana will, however, allow you to set up alerts based on triggers, such as a specific line in a log file. SBBS choked on me in a weird way the other day, for the first time in forever, so I may set it up to send an alert to my phone if something like that happens again. I didn't catch it, and the board was down for more than a day.
Mike Miller wrote to Dan Clough <=-
Hello all,
Wondering what you all do/use for monitoring logs on your boards.
I have a few terminals open to "tail" various logs on my system
(running Synchronet). Been doing it that way for a long while, and it works fine, I guess.
Has anyone used the 'lnav' utility to watch logs? It's pretty slick,
has LOTS of options, and I like the use of colors in logs to help
things "jump out" at you. If anyone is using this, and has taken the
time to customize the look/feel of how it displays, would you comment
on how you're using it, and would you maybe be willing to share your custom config that I could use as a starting point to learn how it's
done?
Appreciate any input you may have!
The free grafana-cloud tier is plenty for monitoring my bbs
server. I'm streaming the logs to it via the grafana-agent.
Last week I got a wild hair and set up this:
https://snapshots.raintank.io/dashboard/snapshot/ybCmnOlQAJnFye872 Dsmdi1ev7EV038q
(snapshot from the last 24 hours as of this post)
I still plan on adding number of messages from/to
uplinks/downlinks. I may actually send out alerts if dupes rise
above a certain pecentage.
I do have another dashboard that I'm working on. It has number of connections over time, number of connections by IP address, and a
few other things.
doing this via logs is not all that efficient, though. At some
point I'll likely create some kind of prometheus exporter to just
scrape data, rather than forcing grafana to parse its entire
history of logs (only 48 hours worth on the free tier) to display
data.
Grafana will, however, allow you to set up alerts based on
triggers, such as a specific line in a log file. SBBS choked on
me in a weird way the other day, for the first time in forever,
so I may set it up to send an alert to my phone if something like
that happens again. I didn't catch it, and the board was down
for more than a day.
Sysop: | Fercho |
---|---|
Lugar: | La Plata, Buenos Aires |
Usuarios: | 33 |
Nodos: | 10 (0 / 10) |
Uptime: | 03:31:21 |
Llamadas: | 119 |
Archivoss: | 15,607 |
Mensajes: | 32,807 |