Forum Discussion
TNY_122436
Nimbostratus
May 15, 2014EAV monitor file for DB2
Does anyone know how I can create an EAV file to monitor DB2 databases base on this argument:
Select count(*) from SYSIBMADM.SNAPHADR where HADR_ROLE = 'PRIMARY'
If it returns 1, it's the p...
May 16, 2014
Hi!
Lacking experience with DB2, but don't you need some kind of authentication before sending queries to the DB? Otherwise you could try a normal TCP monitor with a send and receive string?
Send string:
Select count(*) from SYSIBMADM.SNAPHADR where HADR_ROLE = 'PRIMARY'\r\n
Receive string:
1
If this doesn't work I bet Kevin will come soon and save the day. 🙂
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects