473,763 Members | 1,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1739
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2356
by: Bruce MacDonald | last post by:
I am unable to see the health monitor SQL table functions (e.g.: SQLPROC.HEALTH_CONT_HI). Have I missed a utility which registers the functions? DB2 8.1.3.132 WR21324. Another point about the health monitor - when I get notification messages all they say is that a particular instance/db has a warning or alarm. I have to open the health centre to see what the actual warning / alarm is. I would much prefer if the email had at least a...
2
2066
by: Debbie E | last post by:
Are there any issues with the Health Monitor in a partitioned environment? I have turned on the health monitor and can obtain the health snapshot for the DBM via the following command: get health snapshot for dbm But I can't seem to get any info regarding the database itself. I tried the following commands:
2
6231
by: Mike | last post by:
Hellos again, I seem to be having a weird issue. Whenever DB2 Health monitor seems to run, all connections to the database seem to just lock up. For example: (and this seems consistent) In list applications, DB2Hmon will show as "compiling statement", If I issue a "connect to database"it will hang there until DB2HMON is completed and no longer showing as a active application. Below is a lock snapshot that occurs when this is happening....
4
3484
by: Maddy | last post by:
Hi all, I am new to DB2 database.I just have the basic knowledge abt this database.I in a serious situation of handling 5 large databases.Can some one help me how to prepare the health check report for the databases. Also suggest me gud books for learning DB2. Thanks in advance,
1
2114
by: rdudejr | last post by:
How often does the health monitor check the threshold of an indicator to see if there is a warning or alarm? I am trying to simulate the behaviour of the health monitor and have a dms tablespace at 100%, and so far over the last 18 hours I have only gotten one email about it. Is there a way to adjust the frequency of the threshold check? I am aware of the sensitivity setting, and we have that at 0. Thanks, rdudejr
1
2767
by: oddbande | last post by:
I get a lot of these messages in db2diag.log - seems like problems with health Monitor: 2007-01-05-15.05.06.380000+060 I260759H331 LEVEL: Severe PID : 3860 TID : 4004 PROC : db2fmp.exe INSTANCE: DB2 NODE : 000 APPID : *LOCAL.DB2.070104233148 FUNCTION: DB2 UDB, Health Monitor, hmonSQLConnect, probe:90 MESSAGE : SQLSetConnectAttr error sqlRC= sqlcode=
4
3236
by: onedbguru | last post by:
DB2Connect Informational tokens are "DB2 v8.1.0.96", "s050811", "U803921", FixPak "10". I am getting txxxxxx.0000 files approximately every 14 minutes that look like: <Trap> <Header> DB2 build information: DB2 v8.1.0.96 s050811 SQL08023 timestamp: 2007-02-15-01.37.12.101223 instance name: db2inst1.000
0
1681
by: Cage | last post by:
hi,all As we known,DB2 Health Center is a very good tool,but it made me a little confusion. I will be very appreciate if anyone give me some advices. The problem is that I want to monitor my tablespacle utilization,then I did some test work: 1.I create a tablespace "TESTDMS"managed by database, db2=>CREATE REGULAR TABLESPACE TESTDMS PAGESIZE 4 K MANAGED BY DATABASE USING ( FILE 'D:\test\test' 5120 ) EXTENTSIZE 16 OVERHEAD 10.5 PREFETCHSIZE...
5
14816
by: jbenner | last post by:
I have opened a PMR for this with IBM, and am not asking for advice from the DB2 DBA community. I am posting this as an FYI that DB2 Health Monitor, even at the latest version of DB2, still can cause huge problems with slow connect times and heavy resource locking in high concurrency / high transaction volume environments. I have an OLTP with 30-90 transactions per second activity, and start of Health Monitor every 2 hours was crashing our...
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.