BuzzSaw::Report::Kernel - Generate BuzzSaw reports about kernel events
This documentation refers to BuzzSaw::Report::Kernel version 0.10.3
use BuzzSaw::Report;
my $report = BuzzSaw::Report::Kernel->new( email_to => 'fred@example.org', start => 'yesterday', end => 'today', );
$report->generate();
This module provides the functionality to search the BuzzSaw database for log events related to the Linux kernel. In particular it searches for log entries related to kernel panics, oops, out-of-memory (OOM killer) and segfaults. In the post-processing stage the events are classified and grouped based on the additional attached tags. This is intended to make it easier to generate reports.
The BuzzSaw project provides a suite of tools for processing log file entries. Entries in files are parsed and filtered into a set of events of interest which are stored in a database. A report generation framework is also available which makes it easy to generate regular reports regarding the events discovered.
This class does not have any attributes which are not part of the BuzzSaw::Report parent class. It does override the following:
The default value for this attribute is set to a list containing the kernel tag.
kernel
This class does not have any subroutines or methods which are not part of the BuzzSaw::Report parent class. It does override the following:
This method overrides that provided by the parent class. It is used to group the events based on any additional attached tags (e.g. panic, oops, oom and segfault). The results hash returned has an entry for each of these tags where the value for each is a reference to a hash which is keyed on hostname. The values for this secondary hash are a reference to a list of kernel events of the relevant type found for the hostname.
panic
oops
oom
segfault
This module is powered by Moose.
BuzzSaw, BuzzSaw::Report
This is the list of platforms on which we have tested this software. We expect this software to work on any Unix-like platform which is supported by Perl.
ScientificLinux6
Please report any bugs or problems (or praise!) to bugs@lcfg.org, feedback and patches are also always very welcome.
Stephen Quinney <squinney@inf.ed.ac.uk>
Copyright (C) 2012 University of Edinburgh. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the terms of the GPL, version 2 or later.
To install BuzzSaw::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BuzzSaw::DB
CPAN shell
perl -MCPAN -e shell install BuzzSaw::DB
For more information on module installation, please visit the detailed CPAN module installation guide.