Autosys Email Alarms


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Autosys Email Alarms
# 8  
Old 02-20-2007
Not yet. I haven't had much time to check into the autosys database. I'll keep people informed here when I find the solution. As Kartheg noted, it seems like something we have to do ourselves as opposed to Autosys having this feature in it.
# 9  
Old 02-20-2007
Autosys Notification

Autosys Information is stored in an Oracle database. You will need to get read access, then use SQL Plus or any similar software and view the data. Just get familiar with the tables and see whats stored.

The script I have may not work in your Shop. It would require you to make modifications to fit your shop.

Kartheg
# 10  
Old 03-13-2007
Autosys alarm on Filewatcher

Hi All,

I have a similar task of sending emails from AutoSys on alarms.

I have a filewatcher which watches continuously for a file. After certain time, if the file is not recevied, I need to send mail to a particular group.

I configured filewatcher job to raise MAXRUNALARM signal after this time. Is there any way that when AutoSys sees this alarm, it sends an email?

When I read this post, I could see that we need to create our own job for sending mails and there is no built-in autosys feature for the same. Is this true?

In manuals, I read about a file called notify.$AUTOSERV, which can be used for email notifications. Is this file limited to critical alarms alone and not warning alarms?

Thanks
AutoUser
# 11  
Old 03-13-2007
Here is what I did. For us the autosys db is an oracle db. there is a table called Alarms. One of the fields (status or something) will be 43 if it's an active alarm (hasn't been taken care of). So basically I have a script read this db for 43's and just email what is in there.
# 12  
Old 03-14-2007
Thanks for the reply rpiller.

But I dont have access to the AutoSys database tables. Looks like in that case, I need to write another script to watch time of the file watcher job.

Let me also search if there are any other ways of doign it.

Thanks
# 13  
Old 03-14-2007
The simplest solution is to create another job that depends on the failure of the parent job. For example:

JobA - The current job you currently want to monitor
JobB - A job that is merely a shell script that emails you if JobA fails. This job depends on the failure of JobA.
# 14  
Old 03-14-2007
Autosys Database

That would mean creating hundreds of jobs.

We do have a script that doesn't access Autosys Database but I don't use it cause it is a nuisance. I have to find where it is located.

I don't see why you cannot get read access to Autosys Database. I am assuming your DBA is refusing to give you access and if so he/she is probably a "typical DBA".

I had the same issue with my DBA and somehow I found the user id and password stored in a report program that access the Db.

You should be able to find it somewhere. The Autosys manual clearly encourages you to read the database to produce reports.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sudden Service Busy Alarms

Hi, I am getting service busy alarms on my machines which are using MongoDB every now and then. When the service busy alarm appears, I get the following errors on my mongo router logs. Tue Apr 7 08:01:08.445 dbclient_rs nodes.ok = true hxcslc-b05:27014 Tue Apr 7 08:01:08.445 dbclient_rs... (0 Replies)
Discussion started by: sni_engineer
0 Replies

2. Solaris

Ftpd alarms

Hi, I am facing following alarms in var/adm/messages after an interval of 10 mins. I dont know what the impact is and how can i fix it. Can anyone help please? Dec 4 07:50:03 hxcsvc-a01 ftpd: open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory Dec ... (4 Replies)
Discussion started by: sni_engineer
4 Replies

3. Solaris

Strange power supply units alarms!!!

Hi folks, I encountered this alarms on a solaris server: 04/21/12 23:17:55 MNP-PGW-A_bge3 mnp 231748 Power Supply Unit 0 is faulty 04/21/12 23:17:55 MNP-PGW-A_bge3 mnp 231748 Power Supply Unit 1 is faulty 04/21/12 23:18:26 MNP-PGW-A_bge3 mnp 231822 Power Supply Unit 0 is faulty:CLEAR... (0 Replies)
Discussion started by: kimurayuki
0 Replies

4. Solaris

Hardware Alarms on HP-ux Solarisx86

Hi I am trying to configure the Hardware alarms on HP server. I have refer to "HP ProLiant Health Monitor User Guide" and installed HPQacucli-3.5.0-solaris10-i386 HPQhealth-4.4.0-solaris10-i386 HPQhma-5.7.0-solaris10-i386 HPQilo-1.4.5-solaris10-i386 HPQsmh-5.5.0-solaris10-i386 ... (2 Replies)
Discussion started by: anand87
2 Replies

5. UNIX for Dummies Questions & Answers

Autosys: How to change a machine name in Autosys JIL.

All the autosys jobs are on server-1 and server-1 has been crashed due to some reason, Now I have to run 5 autosys jobs on server-2 (failover server) which are on server 1. How to do with Autosys command (which command needs to fired on JIL) (0 Replies)
Discussion started by: tp2115
0 Replies

6. Solaris

lp serverlist alarms in messages

Hello, I have been receiving following alarms in /var/adm/messages dtcp: WARNING DB (db_tcp.c,363) db_alloc_connid: lp && lp->serverlist error for service 20 It seems like this message is related to LP print service. Since I am not using any print service, is there any way to switch it... (2 Replies)
Discussion started by: aalishan
2 Replies

7. Infrastructure Monitoring

Sun Solaris 9 Traps Contain Multiple Alarms

Hi all, I have a Sun Solaris 9 box which acts as a firewall. Sometimes if multiple actions which cause snmp traps occur very close together, a single snmp trap that is sent containing the text for multiple alarms. I would like to prevent that and have a trap sent for each action which would... (0 Replies)
Discussion started by: g0ld2k
0 Replies

8. UNIX for Advanced & Expert Users

Documentation and books on Autosys Job Control Tool from Autosys

My project uses Autosys. I am new to this product and I don't know where to start from. Q1. Please provide me the link where I can get Autosys documentation Q2. Please refer a good book on Autosys. (Beginner/Intermediate Level) (0 Replies)
Discussion started by: gram77
0 Replies

9. Shell Programming and Scripting

alarms

Hi I have been trying to set up alarms on my Solaris box (Sun OS 5.8) The objective is to present the user an audible alarm every hour or so. I have so far done this: #!/bin/sh val=1 while do printf "\a" val=`expr $val + 1` done I have put this in my crontab to run hourly.... (2 Replies)
Discussion started by: run_time_error
2 Replies

10. Solaris

Alarms/Alerts

Is there a imbedded command (Solaris v8 ksh) that will send an administrative alert/alarm. Or is it just triggering a mail message via shell script? If no, is there a good open-source code someone knows about? Thanks so much in advance for any replies. ...Gozer13 (3 Replies)
Discussion started by: gozer13
3 Replies
Login or Register to Ask a Question