• SBBS log monitoring

    From Gamgee@1:103/705 to All on Thu Jan 25 21:03:00 2024
    Hello all,

    Wondering what you all do/use for monitoring logs on your boards. I guess this is likely specific to Linux sysops.

    I have a few terminals open to "tail" the sbbs.log, the sbbsecho.log, and
    one that filters (grep) for 'tickit' entries. 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!


    ... Something will have to be done, something irresponsible.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Gamgee on Thu Jan 25 19:16:45 2024
    Re: SBBS log monitoring
    By: Gamgee to All on Thu Jan 25 2024 09:03 pm

    Wondering what you all do/use for monitoring logs on your boards. I guess this is likely specific to Linux sysops.

    I don't watch live logs much for my Linux server (it spews and spews), but when I do, I usually use journalctl. It colorizes based on severity and supports all the options I need (search, tail and what-not).
    --
    digital man (rob)

    This Is Spinal Tap quote #45:
    I don't really think the end can be assessed as of itself as being the end Norco, CA WX: 54.5øF, 87.0% humidity, 3 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Dan Clough@1:135/115 to Digital Man on Thu Jan 25 21:24:37 2024
    Re: SBBS log monitoring
    By: Digital Man to Gamgee on Thu Jan 25 2024 07:16 pm

    Re: SBBS log monitoring
    By: Gamgee to All on Thu Jan 25 2024 09:03 pm

    Wondering what you all do/use for monitoring logs on your boards. I guess this is likely specific to Linux sysops.

    I don't watch live logs much for my Linux server (it spews and spews), but when I do, I usually use journalctl. It colorizes based on severity and supports all the options I need (search, tail and what-not).

    Ahh, OK thanks DM. That isn't an option for me, as I have no systemd running here. ;-)
    --- SBBSecho 3.20-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:135/115)
  • From Nightfox@1:103/705 to Gamgee on Thu Jan 25 21:45:05 2024
    Re: SBBS log monitoring
    By: Gamgee to All on Thu Jan 25 2024 09:03 pm

    Wondering what you all do/use for monitoring logs on your boards. I guess this is likely specific to Linux sysops.

    As DM said, I tend to use journalctl, as it colorizes things.

    I don't regularly watch the logs for ticket & others though..

    A while ago, I wrote some JS to parse my Synchronet node logs for information on which doors have been played the most, and I made a web page for my BBS that generates some graphs with the data:

    http://www.digitaldistortionbbs.com/digdist-pages/DoorStats.xjs

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to Gamgee on Fri Jan 26 02:03:44 2024
    On Thu, 25 Jan 2024 21:03:00 -0600
    "Gamgee" (VERT/PALANTIR) <VERT/PALANTIR!Gamgee@endofthelinebbs.com>
    wrote:

    Hello all,

    Wondering what you all do/use for monitoring logs on your boards. I
    guess this is likely specific to Linux sysops.

    I have a few terminals open to "tail" the sbbs.log, the sbbsecho.log,
    and one that filters (grep) for 'tickit' entries. 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?

    Sounds interesting. I might take a look at that.

    Right now I split my logs with syslog to create separate mail, term,
    services, web, mail, irc, and general sbbs logs. This helps when I'm
    looking for something I don't have to do a lot of grepping and can look
    in one specific file.

    I also don't generally sit looking a logs unless there's an issue and
    I'm trying to find something specific, but I do usually have 3
    terminals open for tail -f on the *sbbs.log files, sbbsecho.log and
    binkd.log. I'll usually peek at the once or twice a day to make sure
    things are running ok.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to Nightfox on Fri Jan 26 15:26:00 2024
    Nightfox wrote to Gamgee <=-

    Re: SBBS log monitoring
    By: Gamgee to All on Thu Jan 25 2024 09:03 pm

    Wondering what you all do/use for monitoring logs on your boards. I guess this is likely specific to Linux sysops.

    As DM said, I tend to use journalctl, as it colorizes things.

    <NOD> ... Not an option for me as I don't have journalctl / systemd.

    I don't regularly watch the logs for ticket & others though..

    I check them a time or two per day usually, to catch any problems.

    A while ago, I wrote some JS to parse my Synchronet node logs for information on which doors have been played the most, and I made
    a web page for my BBS that generates some graphs with the data:

    http://www.digitaldistortionbbs.com/digdist-pages/DoorStats.xjs

    Very nice and well done!



    ... Daddy, what does "now formatting drive C:" mean?
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to nelgin on Fri Jan 26 15:29:00 2024
    nelgin wrote to Gamgee <=-

    Wondering what you all do/use for monitoring logs on your boards. I
    guess this is likely specific to Linux sysops.

    I have a few terminals open to "tail" the sbbs.log, the sbbsecho.log,
    and one that filters (grep) for 'tickit' entries. 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?

    Sounds interesting. I might take a look at that.

    It is quite a capable utility. Haven't even scratched the surface
    regarding all the options it has.

    Right now I split my logs with syslog to create separate mail,
    term, services, web, mail, irc, and general sbbs logs. This helps
    when I'm looking for something I don't have to do a lot of
    grepping and can look in one specific file.

    All my stuff goes to /var/log/sbbs.log (and not the regular syslog). It
    seems manageable to me this way.

    I also don't generally sit looking a logs unless there's an issue
    and I'm trying to find something specific, but I do usually have
    3 terminals open for tail -f on the *sbbs.log files, sbbsecho.log
    and binkd.log. I'll usually peek at the once or twice a day to
    make sure things are running ok.

    Yes, I do the same, to catch any problems in a timely manner.


    ... AAcckk!! II''mm iinn hhaallff dduupplleexx
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to Nightfox on Sat Jan 27 00:17:45 2024
    Re: SBBS log monitoring
    By: Nightfox to Gamgee on Thu Jan 25 2024 21:45:05

    A while ago, I wrote some JS to parse my Synchronet node logs for information on which doors have been played the most, and I made a web page for my BBS that generates some graphs with the data:

    http://www.digitaldistortionbbs.com/digdist-pages/DoorStats.xjs

    Why isn't this in git for all sysops to use? That's cool.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to nelgin on Sat Jan 27 15:06:45 2024
    Re: SBBS log monitoring
    By: nelgin to Nightfox on Sat Jan 27 2024 12:17 am

    http://www.digitaldistortionbbs.com/digdist-pages/DoorStats.xjs

    Why isn't this in git for all sysops to use? That's cool.

    I was thinking of possibly adding more to it and refining it some more.. I hadn't gotten around to that yet though. Maybe I will put it in git or offer it for download somewhere..

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to Nightfox on Sat Jan 27 21:47:25 2024
    Re: SBBS log monitoring
    By: Nightfox to nelgin on Sat Jan 27 2024 15:06:45

    I was thinking of possibly adding more to it and refining it some more.. I hadn't gotten around to that yet though. Maybe I will put it in git or offer it for download somewhere..

    Maybe there should be a /sbbs/3rdp for stuff that really doesn't fix in /xtrn but may be useful to other sysops, stuff like stats reports and the like.

    That said, I guess /xtrn is a perfectly fine place to stick them since your DD_stuff is there.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to nelgin on Sun Jan 28 13:04:23 2024
    Re: SBBS log monitoring
    By: nelgin to Nightfox on Sat Jan 27 2024 09:47 pm

    Re: SBBS log monitoring
    By: Nightfox to nelgin on Sat Jan 27 2024 15:06:45

    I was thinking of possibly adding more to it and refining it some more.. I hadn't gotten around to that yet though. Maybe I will put it in git or offer it for download somewhere..

    Maybe there should be a /sbbs/3rdp for stuff that really doesn't fix in /xtrn but may be useful to other sysops, stuff like stats reports and the like.

    That said, I guess /xtrn is a perfectly fine place to stick them since your DD_stuff is there.

    The 'xtrn' sub-dir of 'sbbs' is for online external programs (i.e. doors, maybe message editors), not web stuff.
    --
    digital man (rob)

    Rush quote #7:
    Cities full of hatred fear and lies, withered hearts and cruel, tormented eyes Norco, CA WX: 79.4øF, 22.0% humidity, 3 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From nelgin@1:103/705 to Digital Man on Tue Jan 30 12:22:42 2024
    Re: SBBS log monitoring
    By: Digital Man to nelgin on Sun Jan 28 2024 13:04:23

    The 'xtrn' sub-dir of 'sbbs' is for online external programs (i.e. doors, maybe message editors), not web stuff.

    Yeah, I knew you'd say that as soon as I posted but by then it was too late.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)