Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Bryan Chung — — source: Informix-list mailing list archive (1991-1998)
I guess it has something to do with the alarmprogram/sysalarmprogram
script. But I do not exactly how I could do it. Does anyone know if
there is sample script out that would ask the dynamic server send an
email or page someone when it is shutting down? Thanks!
Bryan Chung
↪ replying to Bryan Chung
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
Bryan Chung wrote:
>
> I guess it has something to do with the alarmprogram/sysalarmprogram
> script. But I do not exactly how I could do it. Does anyone know if
> there is sample script out that would ask the dynamic server send an
> email or page someone when it is shutting down? Thanks!
In the ALARMPROGRAM check the severity argument and if 4 or 5 then:
mailx dba@dba_ws 12345@skypage.com <<EOF
Server Going Down!
The server is going down.
Messages are:
$*
EOF
The SYSALARMPROGRAM also captures some more severe crashes and you can do the
same
there.
Art S. Kagel
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.