Re: Do alarms work in 7.20 ?
Posted in 1996
ctreptow@aol.com wrote: > > Hi. I am trying to write an alarm program for Informix, but it doesn't > appear to work. We are on HP-UX 10.01 running Informix Online version > 7.20. I have written the following script, but it doesn't ever appear to > get called by Informix. According to the manual, I should at least get > something when a checkpoint completes, but I don't seem to get anything. > The script works if run by hand (except possibly for the logging to > syslogd). Any ideas or hints? > > -rwxr--r-- 1 informix informix 2524 Dec 1917:26 > /opt/informix72/bin/alarmhandler.sh Change the permissions to at least 770. Each time your alarm program is called it will be logged in your OnLine log file. Check for the specific events there. I have found that not all events listed are sent to the alarm program, well with 7.10 anyway, I don't know about 7.20. Hope that helps, -- Mark. +-------------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | The Informix FAQ is at http://www.iiug.org | |mailto:marks@west.co.za +------------------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work... force it! | |Fax: +27 11 803 2189 |If it breaks... it needed replacing anyway! | |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+------------------------------------------------+