Stephen Quinney

NAME

BuzzSaw::Report::Kernel - Generate BuzzSaw reports about kernel events

VERSION

This documentation refers to BuzzSaw::Report::Kernel version 0.12.0

SYNOPSIS

use BuzzSaw::Report;

my $report = BuzzSaw::Report::Kernel->new( email_to => 'fred@example.org', start => 'yesterday', end => 'today', );

$report->generate();

DESCRIPTION

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.

ATTRIBUTES

This class does not have any attributes which are not part of the BuzzSaw::Report parent class. It does override the following:

tags

The default value for this attribute is set to a list containing the kernel tag.

SUBROUTINES/METHODS

This class does not have any subroutines or methods which are not part of the BuzzSaw::Report parent class. It does override the following:

%results = $report->process_events(@events)

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.

DEPENDENCIES

This module is powered by Moose.

SEE ALSO

BuzzSaw, BuzzSaw::Report

PLATFORMS

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

BUGS AND LIMITATIONS

Please report any bugs or problems (or praise!) to bugs@lcfg.org, feedback and patches are also always very welcome.

AUTHOR

    Stephen Quinney <squinney@inf.ed.ac.uk>

LICENSE AND COPYRIGHT

    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.