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

NAME

Monitoring::Spooler::Cmd::Command::phone - the voice transport

METHODS

_cleanup

This method removes all queued messages for this group from the queue.

Please note that by design this will also remove any phone message for this group that was placed in the queue after the call cycle began. This should prevent a race condition regarding notifications of already paused groups.

It is very important that this method is invoked _after_ the group was put on the pause list and _never_ before.

_media_type

Always return 'phone'.

_prepare_message_and_send

This methods accepts a group id and a HashRef keyed by group id. It will initiate exactly one call for the given group id using the superclass-defined _send_with_best_transport method. Since we don't have a useable text-to-speech engine and I don't expect that will have one available in the forseeable future it makes no sense to care about the message content. One phonecall should be enought to direct the attention of at least one person on the monitoring and from there he should be able to find out what's going on by himself.

abstract

Returns the usage string shown in the App::Cmd overview screen.

NAME

Monitoring::Spooler::App::Phone - the voice transport

AUTHOR

Dominik Schulz <tex@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Dominik Schulz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.