05-17-2009
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 running AIX 5.3 + 6.1
Any idea? We have tivoli setup but this only generates tickets and according to the tivoli team only to one queue - my customer doesnt want tickets, he wants email.
Any bit of help here is highly appreciated.
Thanks and regards
zxmaus
10 More Discussions You Might Find Interesting
1. Linux
What would be a good threshold value for the following memory metrics?
pgpgin/s
pgpgout/s
I would like to have a value that indicates a warning and an alarm level.
Thanks in advance for any replies. (0 Replies)
Discussion started by: SunLinux
0 Replies
2. IP Networking
Dear Network Masters,
I want to know who brought up the concept of Email Alerts Feature.
are their any RFC's on Email Alerts????
Please let me know.
Thanks in Adv,
meti (1 Reply)
Discussion started by: ashokmeti
1 Replies
3. Solaris
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
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
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
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
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. Shell Programming and Scripting
This is my first time writing a script and Im having some trouble,
Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage
I tried grep
Obviosly that hasnt worked,
Any... (8 Replies)
Discussion started by: jay02
8 Replies
9. AIX
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
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
LEARN ABOUT CENTOS
script-email
SCRIPT-EMAIL(8) System Administration Commands SCRIPT-EMAIL(8)
NAME
script-email - Amanda script to send email notifications
DESCRIPTION
script-email is an Amanda script implementing the Script API. It should not be run by users directly. It sends a notification email to the
addresses specified in the MAILTO property.
PROPERTIES
This section lists the properties that control script-email's functionality. See amanda-scripts(7) for information on the Script API,
script configuration.
MAILTO
List of email addresses that will receive an email on command execution. It is a multi-valued property:
property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com"
EXAMPLE
In this example, script-email is scheduled to be run before the DLE, on the server. The unqualified email address amanda will be passed to
the email system unchanged. The script is then attached to a dumptype, which can then be specified for any DLEs which require
notification.
define script-tool pre-email {
comment "email me before this DLE is backed up"
plugin "script-email"
execute-on pre-dle-backup
execute-where server
property "mailto" "amanda"
}
define dumptype user-tar-email {
user-tar
script "pre-email"
}
SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 SCRIPT-EMAIL(8)