471,594 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,594 software developers and data experts.

sending health monitor messages to another application

hello,
i am just getting started as a dba. ny current task is to set up
notification for health alerts. so, we have the health monitor running,
and it is currently putting health alerts (space usage, runstat
warnings, etc) into the normal db2diag logs. as i understand it, we can
set up the admin server (das?) to send an email or page to a dba when
one of these health alters is triggered. what we are trying to do is
slightly different though. we have our own system management
application running on another server. we would like to get the db2
health alerts sent over to this application. i could write a perl
program or something like that to periodically go through the db2diag
log file and look for health alters, but i would like to avoid that if
possible. is there a way to set up db2 (i have not yet seen it in the
documentation) to allow db2 to send messages to another application,
via smtp or another mechanism? thanks in advance.

Nov 12 '05 #1
3 1613
You can use health indicator table functions:

EALTH_CONT_HI,
HEALTH_DB_HI,
and many others.

Your application can connect to monitored database and get the required
information directly.

-- Artur Wronski

Nov 12 '05 #2
i guess what we were looking to be able to do is have db2 send a udp or
smtp message to our management application (on another sever) when an
alert is triggered, so we don't have to connect to db2 and check for
errors every x number of minutes

Nov 12 '05 #3
err, snmp, not smtp

Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Bruce MacDonald | last post: by
2 posts views Thread by Debbie E | last post: by
2 posts views Thread by Mike | last post: by
4 posts views Thread by Maddy | last post: by
1 post views Thread by rdudejr | last post: by
1 post views Thread by oddbande | last post: by
4 posts views Thread by onedbguru | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.