The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Maplat::Worker::ReportCommands - do some admin reports

SYNOPSIS

This module generates some reports for admin users

DESCRIPTION

Admins need to keep an overview of their system. This reports do just that.

A note of caution: This reports are tailored to my (the developers) needs. You might have to adapt them to your specific requirements.

Configuration

    <module>
        <modname>reportcommands</modname>
        <pm>ReportCommands</pm>
        <options>
            <db>maindb</db>
            <reporting>reporting</reporting>
            <memcache>memcache</memcache>
            <mail>sendmail</mail>
            <commands>commands</commands>
            <reciever>software.developer@example.com</reciever>
            <reciever>system.administrator@example.com</reciever>
            <reciever>boss@example.com</reciever>
        </options>
    </module>

execute

Internal function, executes specific report function based on the report name

do_admin_report

Extensive report for a (mostly) complete system overview.

do_vnc_report

Simple report about the VNC connections made during the last few days.

Dependencies

This module depends on the following modules beeing configured (the 'as "somename"' means the key name in this modules configuration):

Maplat::Worker::PostgresDB as "db" Maplat::Worker::Memcache as "memcache" Maplat::Worker::SensMail as "mail"

SEE ALSO

Maplat::Worker

AUTHOR

Rene Schickbauer, <rene.schickbauer@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2008-2011 by Rene Schickbauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.