leanpub.com/perl6 | logs at irclog.perlgeek.de/perl6book/today | announcement at perlgeek.de/blog-en/perl-6/2016-book.html
Set by moderator on 4 January 2017.
01:14 DrForr joined 02:48 ilbot3 joined
moderator leanpub.com/perl6 | logs at irclog.perlgeek.de/perl6book/today | announcement at perlgeek.de/blog-en/perl-6/2016-book.html
08:37 moritz joined, Util joined 13:18 FROGGS joined
[ptc] moritz: how's this for an idea: parsing logwatch emails 20:12
I have this problem at work that I'm yet to attack (many other things with higher prio), and that's to go through our logwatch emails to get trends about our servers that I don't yet have
when I set up the systems I wasn't able to set up Nagios or Cacti (something which I still want to do, and have an idea as how to do that in the open internet, but that's another story...) 20:13
anyway, in order to get an idea of e.g. disk space trends over time I thought I could process the old logwatch emails so that at least I get an idea of what's happening on the various partitions on my machines 20:14
since the format is reasonably well defined, one might be able to use regexes (or better, a grammar) to parse the information, store it in a csv file (or better an SQL-DB) and then plot
this is not only a relevant problem (i.e. other people might have it and it helps the reader think that they can use Perl6 for real-world problems now), but it also could fit as a good example of parsing, regexes and grammars 20:15
another thing that I'd like to do, that's not possible with system monitoring tools very easily, is to work out how well fail2ban is working 20:16
it'd be good to work out how many attacks are happening on a given system over time, and if one IP manages to get more login attempts through than others
this could also be parsed out of the old logwatch data, is a bit more unstructured (and hence a bit more challenging), however could be illustrative and useful 20:18
moritz [ptc]: do you have a few example logwatch emails that you could send me in a tarball or something? 20:31
[ptc]: the idea sounds interesting, I just don't know enough about logwatch to judge its feasibility right now 20:32
[ptc] ok, will send a few through in a bit 20:35
moritz: examples underway 21:19
moritz [ptc]: thanks 21:53