Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20396

Re: Re: Custom Alerts for DB2 per database (not instance)

$
0
0

Thanks for the suggestion. I have tried a multiple numeric alert.


The problem is that while I can get the dbname  I only get 1 result per instance.  So DPA is connecting to a database (possibly every database) but only returning 1 result.

 

e.g. On a server with 6 databases in the instance (let's call them MYDB1 - MYDB6) I only get a single row returned:

 

SELECT CURRENT SERVER AS DBNAME, COUNT(*) FROM SYSIBMADM.MON_LOCKWAITS

 

Status "Database Instance" "Alert Value"            "Description"

INFO     MYSERVER:50000  MYDB1 0

 

What I should see is:

 

Status "Database Instance" "Alert Value"            "Description"

INFO     MYSERVER:50000  MYDB1 0

INFO     MYSERVER:50000  MYDB2 0

INFO     MYSERVER:50000  MYDB3 0

INFO     MYSERVER:50000  MYDB4 0

INFO     MYSERVER:50000  MYDB5 0

INFO     MYSERVER:50000  MYDB6 0


I suspect this may be a bug/feature in DPA for DB2, but I'd like to be wrong


Viewing all articles
Browse latest Browse all 20396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>