By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,854 Members | 2,015 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,854 IT Pros & Developers. It's quick & easy.

sending health monitor messages to another application

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
err, snmp, not smtp

Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.