Sponsored Content
Full Discussion: Autosys Email Alarms
Top Forums UNIX for Dummies Questions & Answers Autosys Email Alarms Post 302110708 by autouser123 on Wednesday 14th of March 2007 05:07:40 PM
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
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
File::ChangeNotify::Watcher(3pm)			User Contributed Perl Documentation			  File::ChangeNotify::Watcher(3pm)

NAME
File::ChangeNotify::Watcher - Base class for all watchers VERSION
version 0.22 SYNOPSIS
my $watcher = File::ChangeNotify->instantiate_watcher ( directories => [ '/my/path', '/my/other' ], filter => qr/.(?:pm|conf|yml)$/, exclude => ['t', 'root', qr(/(?!.)[^/]+$)], ); if ( my @events = $watcher->new_events() ) { ... } # blocking while ( my @events = $watcher->wait_for_events() ) { ... } DESCRIPTION
A "File::ChangeNotify::Watcher" class monitors a directory for changes made to any file. You can provide a regular expression to filter out files you are not interested in. It handles the addition of new subdirectories by adding them to the watch list. Note that the actual granularity of what each watcher subclass reports may vary across subclasses. Implementations that hook into some sort of kernel event interface (Inotify, for example) have much better knowledge of exactly what changes are happening than one implemented purely in userspace code (like the Default subclass). By default, events are returned in the form File::ChangeNotify::Event objects, but this can be overridden by providing an "event_class" attribute to the constructor. The watcher can operate in a blocking/callback style, or you can simply ask it for a list of new events as needed. METHODS
File::ChangeNotify::Watcher::Subclass->new(...) This method creates a new watcher. It accepts the following arguments: o directories => $path o directories => @paths This argument is required. It can be either one or many paths which should be watched for changes. o filter => qr/.../ This is an optional regular expression that will be used to check if a file is of interest. This filter is only applied to files. By default, all files are included. o exclude => [...] An optional list of paths to exclude. This list can contain either plain strings or regular expressions. If you provide a string it should contain the complete path to be excluded. The paths can be either directories or specific files. If the exclusion matches a directory, all of its files and subdirectories are ignored. o follow_symlinks => $bool By default, symlinks are ignored. Set this to true to follow them. If this symlinks are being followed, symlinks to files and directories will be followed. Directories will be watched, and changes for directories and files reported. o sleep_interval => $number For watchers which call "sleep" to implement the "$watcher->wait_for_events()" method, this argument controls how long it sleeps for. The value is a number in seconds. The default is 2 seconds. o event_class => $class This can be used to change the class used to report events. By default, this is File::ChangeNotify::Event. $watcher->wait_for_events() This method causes the watcher to block until it sees interesting events, and then return them as a list. Some watcher subclasses may implement blocking as a sleep loop, while others may actually block. $watcher->new_events() This method returns a list of any interesting events seen since the last time the watcher checked. $watcher->sees_all_events() If this is true, the watcher will report on all events. Some watchers, like the Default subclass, are not smart enough to track things like a file being created and then immediately deleted, and can only detect changes between snapshots of the file system. Other watchers, like the Inotify subclass, see all events that happen and report on them. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) perl v5.14.2 2012-04-14 File::ChangeNotify::Watcher(3pm)
All times are GMT -4. The time now is 11:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy