Re: Event Alarms
Posted in 1997
Felix Koshy Mathews wrote: > > In <33B7F989.2C97@arrowintl.com>, Chad Laity wrote: > >Does anyone out there have an event alarm that warns you via > >email when the logs are a certain %age full?? > > > >I tried to alter the script logevent.sh to accomplish this but > >it did not work. > > > > Chad, > > You have to add the following line in your ONCONFIG file, where > SHELL_SCRIPT is the sctipt file (check $INFORMIXDIR/etc/no_log.sh). > > ALARMPROGRAM $INFORMIXDIR/etc/SHELL_SCRIPT.sh # Alarm program path > > -- > Have a nice day > > Felix K. Mathews > mailto:fmathews@systems.dhl.com Felix, I did place that in my onconfig file but the syntax of the script was what I was hoping to get. I tried to alter the existing log_event.sh and the code that Informix provided does not seem to function as intended. I wanted the script to mail me when the logs are 70% full rather than back them up for me. We only have one tape drive and I do not want to be switching tapes all the time. Chad