AIX mail notification


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting AIX mail notification
# 1  
Old 08-13-2010
AIX mail notification

plzzz help me, I want to send emails for exchange group members when the used file-system % gets more than 90%, this notification must include df -g, netstat -i,and errpt with the hostname
thx in advance
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script for sending notification mail

hi all, needed a script to send a notfication mail if the specified folder had the copy of the files that are older than 15 days i.ee for example my folder name is SAi and the files are as follows sai.txt copyofsai.txt copyofcopyofsai.txt hemanth.txt copyofcopyofhemanth.txt... (4 Replies)
Discussion started by: hemanthsaikumar
4 Replies

2. Shell Programming and Scripting

rsync with e-mail notification failure

dear all, i have script rsync like this : #!/bin/sh RSYNC=/usr/bin/rsync SSH=/usr/bin/ssh RUSER=root RHOST=123.123.123.1 INTRPATH=/home/jargo/log/internasional/ INTHPATH=/var/www/international/ IIXRPATH=/home/jargo/log/iix/ IIXHPATH=/var/www/iix/ TTLRPATH=/home/jargo/log/total/... (2 Replies)
Discussion started by: indracyd
2 Replies

3. Infrastructure Monitoring

Mail Notification in nagios

Hi guys, I have configured Nagios in My Ubuntu8.4 machine through Quickstart Guide, All things are working fine. Now i want to get Services Notification mails on my personal Email-id,what configuration is needed to get the mails,any assistance would be appreciable. Thanks in advance. (3 Replies)
Discussion started by: daya.pandit
3 Replies

4. Shell Programming and Scripting

file generation and mail notification

I'm very new to unix. I need help in writing a shell script that will automatically take output file from a particular folder from a server and if the file is generated send email notifications to certain group of ppl and if it is not generated send a mail wid error msg.. can any1 help me on... (4 Replies)
Discussion started by: anzie.sharma
4 Replies

5. AIX

notification mail when password expired

Hallo, can anybody help me with my issue? Iīd like to know if it is possible to send me a mail (to @mail.com for example) when some account password will expired? eg. few days ago of this expiration. We donīt use this account every day, it is used for DB2 and DB2 has problem every 90īs day because... (2 Replies)
Discussion started by: JiriVenera
2 Replies
Login or Register to Ask a Question
mq_notify(2)							System Calls Manual						      mq_notify(2)

NAME
mq_notify - register/cancel a notification request with a message queue SYNOPSIS
DESCRIPTION
If the argument notification is not NULL, the system call registers the calling process to be notified of message arrival at an empty mes- sage queue associated with the message queue descriptor mqdes. The notification specified by the notification argument will be sent to the process when the message queue transitions from the empty state to the non-empty state. If the type of notification specified in notification->sigev_notify is then the signal specified in notification->sigev_signo will be sent to the process. If the flag is set for that signal number, then the value specified in notification->sigev_value will be the si_value com- ponent of the siginfo_t structure passed to the signal catching function at the time of signal delivery. At any time, only one process can be registered for notification with a message queue. If the calling process, or any other process has already registered for notification with the specified message queue, subsequent attempts to register with that queue will fail. If notification is NULL and the process is currently registered for notification with the specified message queue, the existing registra- tion is canceled. When the notification is sent to the registered process, its registration is removed. The message queue is then available for registra- tion. If there is some process blocked in waiting to receive a message from a message queue, the arrival of a message on the queue will satisfy the even if the queue has a registered notification request. The resulting behavior is as if the message queue remains empty, and no noti- fication is sent. To use this function, link in the realtime library by specifying on the compiler or linker command line. RETURN VALUE
returns the following values: Successful completion. Failure. is set to indicate the error. ERRORS
If fails, is set to one of the following values: [EAGAIN] The system lacks sufficient signal queuing resources to honor the request. [EBADF] The mqdes argument is not a valid message queue descriptor. [EBUSY] A process is already registered for notification with the message queue. [EINVAL] An attempt was made to cancel a non-existent notification request, or notification points to an invalid address. [ENOSYS] is not supported by the implementation. SEE ALSO
mq_open(2), mq_send(2), sigaction(2). signal(2), signal(5). STANDARDS CONFORMANCE
mq_notify(2)