Sponsored Content
Full Discussion: Email Alerts
Special Forums IP Networking Email Alerts Post 302175536 by sysgate on Friday 14th of March 2008 10:18:38 AM
Old 03-14-2008
An RFC about mail alerts doesn't exists, everything is being implemented manually by sysadmins and programers per respective needs.
 

10 More Discussions You Might Find Interesting

1. Solaris

configure solaris 10 mail to relay email alerts from SAN switch

I want to be able to use an account on a solaris 10 server, eg root@myhost to act as a relay to forward mail to my domain account me@mycompany.com The reason for this is to configure root@myhost as a mail relay on Brocade SAN switches - so that when a port goes bad i get an email alert.... (0 Replies)
Discussion started by: wibidee
0 Replies

2. AIX

email alerts for memory or cpu exceeding thresholds

Hi Guys, I hope this is an easy question: I need some kind of script or an idea how I can convince syslog to send an email to root or someone else once cpu usage exceeds 95% or the memory consumption (maybe via AVM value times 4k) exceeds 85% of my real memory on any of my 700 lpars. We're... (4 Replies)
Discussion started by: zxmaus
4 Replies

3. UNIX for Dummies Questions & Answers

Email Alerts

hi I am running so scripts that clean up empty folders on our servers once a week. I run from a cron. But what i would like to do is add a email notfication so i can be notified that it completed. The script is #Clean Empty Folders on Studio Share perl... (1 Reply)
Discussion started by: treds
1 Replies

4. Shell Programming and Scripting

df -k Alerts

Hi - I would like to send an e-mail alerts if in the output below capacity reaches to 80% and 90% df -k /d500/oracle /d905/oracle /d805/oracle /d705/oracle Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/abcde_raid5_db/d500 52428800... (1 Reply)
Discussion started by: niraj_bhatt
1 Replies

5. Shell Programming and Scripting

Logic to send email alerts only 5 times a day

Hi, I have written below disk space monitoring script to monitor disk space every minute. I have scheduled this script through cron. But now my problem is this script alerts the users continuously until the space is freed up. These emails are filling up the inbox exponentially until the space... (3 Replies)
Discussion started by: svajhala
3 Replies

6. Solaris

ALOM Email Alerts

Hi I'm new to this forum and I was hoping you can help me with this strange activity. I have a Sol10 sun4u sparc SunFireV250 machine. Currently running ALOM 1.6.8 firmware. The following error was experienced on this machine: "Input power unavailable for PSU @ PS0" Reading the documention... (0 Replies)
Discussion started by: La-Paloma78
0 Replies

7. Shell Programming and Scripting

Email alerts whenever someone logs into server via SSH any user?

Hi all, Thanks in Advance!! I dont know how to start to write script for this process, my requirement is if any user logs into server automatically Admin get mail alert. how is this possible? any one guide me to complete this process. (1 Reply)
Discussion started by: anishkumarv
1 Replies

8. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

9. AIX

Would like to get email alerts when user password going to expire

Hello, I am trying to write a shell script, which will send email alerts to Admin/users when users password is going to expire in 15 days. Can you please help me with the script. thank you. (3 Replies)
Discussion started by: Kumar7997
3 Replies

10. UNIX for Dummies Questions & Answers

Send email attachment using Operating System Script(UNIX) in Oracle Alerts

Good Day Kindly assist: I am creating an Alert that will notify supervisors of staff members who are due for probation report. I am using Operating System Script(Unix) as source.I have already developed the script. Now the challenge is if there are 3 employee records then the alert... (2 Replies)
Discussion started by: nosi27
2 Replies
faxrunq(1)						       mgetty+sendfax manual							faxrunq(1)

NAME
faxrunq - send fax jobs queued by faxspool(1) SYNOPSIS
faxrunq DESCRIPTION
Run the fax queue set up by faxspool(1), try to send all faxes, record result, remove job and send notify mails. faxrunq looks for all the jobs queued by faxspool(1) to /var/spool/fax/outgoing/*. For each job in the queue, faxrunq tries to send it, using sendfax(8). If the send succeeds, the job is removed from the queue, and a "success" mail is sent to the originator of the spooled job. If the send fails, it's logged, and faxrunq proceeds to the next job. If the job fails five times "fatally", that is, not with a locked or engaged line, but with "NO CARRIER" (no fax machine, or line noise), the job is suspended, and the requestor gets a mail, telling him so. faxrunq can be run from the command line (but make sure the user doing this has write access to the modem device and to the fax queue, that is, usually this should be done by "uucp" or "root"). In a production environment, it's more useful to start faxrunq from cron(8) in regu- lar intervals, like "run it every 5 minutes". See the cron(8) and/or crontab(1) man pages for this (which man page exists depends on your system). OPTIONS
-q Tells faxrunq to be quiet, that is, suppress all status messages. Error messages will still be printed. FILES
/var/spool/fax/outgoing/stop if this file exists, faxrunq (and faxrunqd) will do nothing. You can use this to stop queue processing while testing something, or if you know that the modem(s) are unavailable and do not want to run into oany error messages, etc. /var/spool/fax/outgoing/faxqueue_done Every time faxrunq (or faxrunqd) run the fax queue, a time stamp is written into that file. It is used by faxspool to display a warning if the queue hasn't been run recently (so faxes may get stuck). CONFIGURATION FILE
Some aspects of the behaviour of faxrunq can be controlled by a configuration file, /etc/mgetty/faxrunq.config. In this file, you can use the following options: success-send-mail [y/n] A boolean parameter that controls whether a mail will be sent after successful completition of the fax job. failure-send-mail [y/n] A boolean parameter that controls whether a mail will be sent after the fax job has failed more than the maximum number of times. success-call-program <name> Here, you can specify a program that will be run when the fax has been successfully sent. It will be passed two command line parame- ters. The first is the full path to the fax JOB file (see faxq(5)), the second is the last exit code from sendfax (for success-call- program, this is always "0"). failure-call-program <name> Similar to the "success-call-program", this program will be run when the fax has been failed too often and faxrunq gives up. This script could, for example, print out the fax on a printer so that it can be sent manually on a paper fax machine. maxfail-costly <n> This specifies the number of times that a fax may fail "fatally", that is, causing telephone costs (explained above). The default value is 5. maxfail-total <m> This is the absolute maximum number of times that faxrunq will try to send any given fax. The default value is 10. (Right now, it's not yet implemented). delete-sent-jobs [y/n] Determines whether faxrunq should delete jobs after sending, or leave them in the fax queue (while moving the "JOB" file to "JOB.done") so that they can be seen at by "faxq -o". The default value is "do not delete sent faxes". acct-log <path> Specifies where faxrunq should protocol success and failure of each try to send a fax job. The default location is /var/spool/fax/outgoing/acct.log. There are some other options that are allowed, but ignored. These are: max-modems, and faxrunqd-log. They are used by faxrunqd(8) (which reads the same config file, but has more options). BUGS
faxrunq doesn't handle proper time scheduling yet Don't use faxrunq if you have malevolent users with access to the fax spool. It doesn't handle all cases of file movement tricks cor- rectly. Use faxrunqd(8) instead, which does it correctly (this point is mostly moot if the fax queue is set up correctly - that is, owned by 'uucp', mode 755, and faxrunq(1) is also run as user 'uucp'). SEE ALSO
faxspool(1), sendfax(8), faxq(1), faxqueue(5), faxrunqd(8) AUTHOR
faxrunq is Copyright (C) 1993-2002 by Gert Doering, <gert@greenie.muc.de>. greenie 23 Nov 02 faxrunq(1)
All times are GMT -4. The time now is 06:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy