Paranoid::Log::Email(3pm) User Contributed Perl Documentation Paranoid::Log::Email(3pm)NAME
Paranoid::Log::Email - Log Facility Email
VERSION
$Id: Email.pm,v 0.82 2010/04/15 23:23:28 acorliss Exp $
SYNOPSIS
use Paranoid::Log;
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
$recipient);
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
[ @recipients ]);
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
$recipient, $sender, $subject);
DESCRIPTION
This module implements an e-mail transport for messages sent to the logger. It supports one or more recipients as well as overriding the
sender address and subject line. It also supports connecting to a remote mail server.
DEPENDENCIES
o Net::SMTP
o Net::Domain
o Paranoid::Debug
SUBROUTINES /METHODS
NOTE: Given that this module is not intended to be used directly nothing is exported.
init
log
remove
dump
SEE ALSO
o Paranoid::Log
BUGS AND LIMITATIONS
No validation of any information, be it the mail server, recipient, or anything else is done until a message actually needs to be sent.
Because of this you may have no warning of any misconfigurations just by enabling the facility.
AUTHOR
Arthur Corliss (corliss@digitalmages.com)
LICENSE AND COPYRIGHT
This software is licensed under the same terms as Perl, itself. Please see http://dev.perl.org/licenses/ for more information.
(c) 2005, Arthur Corliss (corliss@digitalmages.com)
perl v5.14.2 2010-04-15 Paranoid::Log::Email(3pm)
Check Out this Related Man Page
Paranoid::Log::File(3pm) User Contributed Perl Documentation Paranoid::Log::File(3pm)NAME
Paranoid::Log::File - File Logging Functions
VERSION
$Id: File.pm,v 0.83 2010/04/15 23:23:28 acorliss Exp $
SYNOPSIS
use Paranoid::Log;
enableFacility('events', 'file', 'debug', '+', $filename);
DESCRIPTION
This module logs messages to the log files, and is safe for use with forked children logging to the same files. Each child will open their
own filehandles and use advisory locking for writes.
This module should not be used directly, Paranoid::Log should be your exclusive interface for logging.
SUBROUTINES /METHODS
NOTE: Given that this module is not intended to be used directly nothing is exported.
init
log
remove
dump
DEPENDENCIES
o Fcntl
o Paranoid::Debug
o Paranoid::Filesystem
o Paranoid::Input
SEE ALSO
o Paranoid::Log
BUGS AND LIMITATIONS
This isn't a high performance module when dealing with a high logging rate with high concurrency. This is due to the advisory locking
requirement and the seeks to the end of the file with every message. This facility is intended as a kind of lowest-common demoninator for
programs that need some kind of logging capability.
AUTHOR
Arthur Corliss (corliss@digitalmages.com)
LICENSE AND COPYRIGHT
This software is licensed under the same terms as Perl, itself. Please see http://dev.perl.org/licenses/ for more information.
(c) 2005, Arthur Corliss (corliss@digitalmages.com)
perl v5.14.2 2010-04-15 Paranoid::Log::File(3pm)
ok, does anyone know how i can strip out fields i dont want from a mail spool file (eg: /var/mail/usermailbox) and dump to standard output (or file with > filename) ?? i tried using a bunch of grep -v 's but i realized that has two main problems, first of all, if anyone types the text im grepping... (6 Replies)
Dear friends:
I have these data files:
fileaa
fileab
fileac
filead
I want to email these file to someone. How can I email EACH SINGLE FILE with a wild card character?
mail john@mail.com<fileaa
mail john@mail.com<fileab
...............................ac... (4 Replies)
hi all,
This is user that i want sent the email:
Email = allan@gmail.com bruce8899@gmail.com Chris@gmail.com
echo "$dir : $filecount is over the limit $limit " | mailx -s "${SUBJECT}" "${email}"
However it cannot sent to 3 user..only sent to 1 user email address.
Any 1 can help me... (15 Replies)
Hi all,
I'm using Solaris 10 and would like to know how I can monitor the /var/adm/messages file for certain message types, and email them upon detection.
For example, I want to immediately email the IP-4-DUPADDR message as soon as it's generated so that people can respond to it ASAP.
... (9 Replies)
Hi,
as the title says, I am after a simple script, which will open the Alert log from
an 11.2.0.1 Linux environment and mail the error message and description to a recipient email address.
I can then schedule this job via cron and let it run every 15 minutes.
I have searched online... (16 Replies)
Please help! I am really new to Linux, and my colleague who usually deals with these things isnt here to help me out.
We are running Scalix mail services on CentOS 6.0. Email users with IMAP folders are getting an error message stating the server cannot be reached, however POP3 mail users are... (13 Replies)
Hi All,
I am pretty new to the mail service in Sun Solaris 5.10. If anybody help me in writing a script for the multiple recipient with subject and the body would be a helpful.
Kindly help...
Thanks in advance. :)
Warm Regards,
Pramod (5 Replies)
Hi All
I am working on AIX 7.1 and I am trying to show an output that I get from "cat" a log file to email. However in email I get the below output:
In the script I have defined the colors as:
#!/bin/sh
echo "\033
Below is the script I have created to send this output:
... (9 Replies)
hi all,
i am not getting with the email attached not sure what wrong with the syntax can u help me out plz.
cat notavailabltext.txt
please reach to team for any issues.
uuencode notavailable.txt notavailable.txt | mailx -m -s "Files are available" arun@trival.com < notavailabltext.txt (6 Replies)
I have a textfile with a list of strings I want to monitor in my network.
alertlist:
hans
franz
tanzSo it can output for me whenever the a strings it matched:
#!/bin/sh
while : ; do
testfile="/var/media/ftp/alertlist.txt"
] && echo "${testfile##*/} exists." || echo "${testfile##*/}... (9 Replies)
Hi There
I have to wrote a script where I am able to echo a result of an SQL script, however I want to be able to send an email to myself when it is more than 0 (so whenever a value is returned) is this possible?
I tried one way from looking on the web but this didn't work, I have added my... (8 Replies)
I am running the gaussian program on UNIX with bash and I want to form a script that will email me once the output life terminates either "normal termination" or "false" I just started learning this last week so could you let me know how to go about this.:b: (13 Replies)
Hello,
I am facing an issue with email in Linux. I am using mailx command to send email.
When I give invalid domain address then it is taking both sender and recipient as sender email and trying to send email.
Below is my command
echo -e "${EMAIL_TEXT}" | mailx -v -s "${SUBJECT}" -r... (5 Replies)