Sponsored Content
Operating Systems AIX How to write a script to send these alerts? Post 302868821 by Scrutinizer on Tuesday 29th of October 2013 01:42:26 AM
Old 10-29-2013
How about:
Code:
tail -f alerts.log | 
while read line
do
  case $line in 
    (ORA-*) echo "send a mail about: $line"
  esac
done

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to write a shell script to send an email to an id

Hi all, I want to know how to send an email using shell script ..... I tried a command call mail but it did not work.. Please any one reply.. With example if you know thanks.. Madhu (4 Replies)
Discussion started by: madhumathikv
4 Replies

2. Shell Programming and Scripting

Need to write script to send an email for password reset.

Hi all, Please suggest I want to write a scritp which will send a email to my mail address before the time duration of the password reset, Should write mail stating that your password will expire in so and so days"" Rgds:b: Ann. (2 Replies)
Discussion started by: Haque123
2 Replies

3. Shell Programming and Scripting

Write a script to send alert for some particular hours in a day

Hi All, I have a have a script which checks for some processes whether they are running or not and if they are not running then it send a mail specifying that the processes are not running. This particular script example abc.ksh is runs in a cron like this 0,5,10,15,20,25,30,35,40,45,50,55 * * *... (5 Replies)
Discussion started by: usha rao
5 Replies

4. 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

5. Solaris

Script to automate NAS space alerts

Hello Everyone, I need your expertise in creating script on how to automate sending of alert/notification of NAS Space and also File counts with the following requirements. 1. Automatically send to assigned sysadmin if it crosses threshold level. 2. Threshold is 80% utilization of the... (4 Replies)
Discussion started by: sam09
4 Replies

6. UNIX for Dummies Questions & Answers

How to send alerts to the sysmon facility?

We are moving from using the syslog facility to sysmon. My question is what API's are used to write alerts to sysmon (2 Replies)
Discussion started by: thenrett
2 Replies

7. Shell Programming and Scripting

How to write this script:- check output word and send a mail?

Hi Guys, I am not Good at scripting. I need to write a script such that if output of command shows the particular word in output then send mail to abc@compay.com -bash-3.2$ ps -ef | grep bpbkar root 6040 1 0 13:05:19 ? 0:00 bpbkar -r 2678400 -ru root -dt 47395 -to 0... (20 Replies)
Discussion started by: manalisharmabe
20 Replies

8. Shell Programming and Scripting

UNIX script to find alerts for swap space

Can someone get me script to find swap space for linux servers (1 Reply)
Discussion started by: Moon1234
1 Replies

9. 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

10. UNIX for Beginners Questions & Answers

How to write a UNIX script to send a mail to the respective individual users about their groups?

Hi Team, I got a requirement to send a mail to the individual users of a unix server about their respective groups. can some one help me to provide the script as I am unable to write that. I tried with below lines but I come out with errors. cat /etc/passwd | awk -F':' '{ print $1}' |... (6 Replies)
Discussion started by: harshabag
6 Replies
solterm(1)						   IPMI Serial over LAN program 						solterm(1)

NAME
solterm - An IPMI Serial over LAN program SYNOPSIS
solterm <connection parms> [-e escape_char] [-notencrypted] [-notauthenticated] [-bitrate (9600|19200|38400|57600|115200)] [-alerts (suc- ceed|defer|fail)] [-holdoff] [-ack-retries n] [-ack-timeout microseconds] [-v] [-q] DESCRIPTION
The solterm program allows a user to make a remote serial connection over IPMI. The requires that the remote system support IPMI 2.0 Serial Over LAN. OPTIONS
<connection parms> The parameters for the connection depend on the connection type. These are all described in openipmi_conparms (7) -e escape_char The character to use to escape, or exit, the program. Entering this chatacter right after a newline is entered causes the program to go into command mode. A single character after this performs a command. The default escape character is "~" as shown below. Suppported commands are: ~. Terminate the program ~B Send a serial BREAK over the connection ~F Flush all buffers ~R Assert the Ring Indicator (RI) line ~r Deassert the Ring Indicator (RI) line ~D Assert DCD and DSR lines ~d Deassert DCD and DSR lines ~C Pause the output using CTS ~c Put CTS under BMC control ~? Help on escape commands ~~ Enter the escape character twice to send it. -notencrypted Do not encrypt the SOL data going over the connection. -notauthenticated Do not do integrity checks on the SOL data going over the connection. -bitrate Set the bitrate to the given value. The default is whatever the BMC has set it to. -alerts This specifies what to do if a alert that requires a callout occurs on the line. succeed specifies that serial/modem alerts are to succeed while SoL is active. deferred specifies that serial/modem alerts are to be deferred for the duration of the SoL session. fail specifies that serial/modem alerts automatically fail during the SoL session. This is the default. -holdoff Specifies that CTS, DTR, and DSR are to be deasserted at the start of the SoL session so that the configuration may be modifeid before the handshake is released. -v Be more verbose. Maybe specified multiple time for more output. -q Be less verbose. Maybe specified multiple time for less output. SEE ALSO
openipmi_conparms(7) KNOWN PROBLEMS
None AUTHOR
Darius Davis <dariusd@users.sourceforge.net> OpenIPMI 05/13/03 solterm(1)
All times are GMT -4. The time now is 11:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy