• Monitoring BBS logs

    From Gamgee@21:2/138 to All on Thu Jan 25 21:11:00 2024
    Hello all,

    Wondering what you all do/use for monitoring logs on your boards,
    specifically those running under Linux.

    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!


    ... What was the best thing BEFORE sliced bread?
    === MultiMail/Linux v0.52
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
  • From Accession@21:1/200 to Gamgee on Thu Jan 25 22:01:04 2024
    On Fri, 26 Jan 2024 03:11:00 -0600, Gamgee -> All wrote:

    Hello all,

    Wondering what you all do/use for monitoring logs on your boards, specifically those running under Linux.

    $ journalctl -f

    If I remember right, you're not using systemd. Not sure how much you know about it, but Synchronet can log everything to journalctl. I can basically have one terminal open and "-f = follow" to watch every service at once, and are specified/separated with "term, web, ftp, srvc, evnt, etc." Albeit a lot less colorful than the screenshots I just looked at of this lnav you speak of. But the logging itself looks kind of similar.

    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?

    I haven't, nor have I heard of it until you mentioned it. Looks interesting, though. I might have to take a look-see just for the hell of it! ;)

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (21:1/200)
  • From Gamgee@21:2/138 to Accession on Fri Jan 26 15:33:00 2024
    Accession wrote to Gamgee <=-

    Wondering what you all do/use for monitoring logs on your boards, specifically those running under Linux.

    $ journalctl -f

    If I remember right, you're not using systemd. Not sure how much
    you know about it, but Synchronet can log everything to
    journalctl. I can basically have one terminal open and "-f =
    follow" to watch every service at once, and are
    specified/separated with "term, web, ftp, srvc, evnt, etc."
    Albeit a lot less colorful than the screenshots I just looked at
    of this lnav you speak of. But the logging itself looks kind of
    similar.

    Yes, I don't have jouralctl/systemd here; running Slackware. I do have everything logging to /var/log/sbbs.log and it's "human-readable" and
    not too bad to watch.

    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?

    I haven't, nor have I heard of it until you mentioned it. Looks interesting, though. I might have to take a look-see just for the
    hell of it! ;)

    It seems like a pretty cool utility to me. Basic operation is simple
    enough, but there are a LOT of configs/tweaks that can be made. I think
    I'm gonna start using it and climb up the learning curve slowly.
    Interested to hear if you like it, or what. Thanks.



    ... A woman drove me to drink, and I never had the courtesy to thank her.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
  • From esc@21:4/173 to Gamgee on Fri Jan 26 22:22:00 2024
    Yes, I don't have jouralctl/systemd here; running Slackware. I do have everything logging to /var/log/sbbs.log and it's "human-readable" and
    not too bad to watch.

    Late to the party here but an excellent opensource tool you can use with a web UI for administration/viewing/etc is Nagios. I became familiar with the enterprise version years ago at work and now have been eyeballing the opensource one for my own projects.

    https://nagios.org/downloads/

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From NuSkooler@21:1/121 to Gamgee on Sat Jan 27 12:05:27 2024

    Gamgee around Thursday, January 25th...
    Wondering what you all do/use for monitoring logs on your boards, specifically those running under Linux.

    I'm not sure how much this helps your use case, but I always have a terminal open running zellij -- a window/pane for btop, one for web my board's web logs, and one for the rest. Both are Bunyan, so it's essentially: `tail -F ./logs/enigma-bbs.log | bunyan` to get JSON structured logs into pretty views.

    There are some nice utils to combine multiple log sources into a single by timestamp as well.

    WFC screen in enig also shows a current 'live' view of logs.

    --
    |08 ■ |12NuSkooler |06// |12Xibalba |08- |07"|06The place of fear|07"
    |08 ■ |03xibalba|08.|03vip |08(|0344510|08/|03telnet|08, |0344511|08/|03ssh|08)
    |08 ■ |03ENiGMA 1/2 WHQ |08| |03Phenom |08| |0367 |08| |03iMPURE |08| |03ACiDic
    --- ENiGMA 1/2 v0.0.14-beta (linux; x64; 18.18.2)
    * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121)
  • From Gamgee@21:2/138 to NuSkooler on Sat Jan 27 14:31:00 2024
    NuSkooler wrote to Gamgee <=-

    Gamgee around Thursday, January 25th...
    Wondering what you all do/use for monitoring logs on your boards, specifically those running under Linux.

    I'm not sure how much this helps your use case, but I always have
    a terminal open running zellij -- a window/pane for btop, one for
    web my board's web logs, and one for the rest. Both are Bunyan,
    so it's essentially: `tail -F ./logs/enigma-bbs.log | bunyan` to
    get JSON structured logs into pretty views.

    Nice! I wasn't aware of zellij - but will be giving that a look. Big
    fan of tmux and this looks similar. Also had seen btop long ago but
    forgotten about it. Very slick utility there, gonna re-visit that too.

    There are some nice utils to combine multiple log sources into a
    single by timestamp as well.

    WFC screen in enig also shows a current 'live' view of logs.

    Been meaning to to a test look at Enigma too, for a long time. Will try
    to hurry that up, and thanks a lot for the inputs!



    ... Gone crazy, be back later, please leave message.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
  • From Gamgee@21:2/138 to esc on Sat Jan 27 14:37:00 2024
    esc wrote to Gamgee <=-

    Yes, I don't have jouralctl/systemd here; running Slackware. I do have everything logging to /var/log/sbbs.log and it's "human-readable" and
    not too bad to watch.

    Late to the party here but an excellent opensource tool you can
    use with a web UI for administration/viewing/etc is Nagios. I
    became familiar with the enterprise version years ago at work and
    now have been eyeballing the opensource one for my own projects.

    Thanks for the input, esc. I've heard of that and had to go look to
    refresh myself on what it was. Looks very capable, but probably beyond
    what I need to monitor a simple BBS (with no web interface). Also it
    looks quite "enterprise-ish" and isn't free... :) Appreciate the
    reply!



    ... Gone crazy, be back later, please leave message.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)