Getting DB2instance name using service now discovery

ishant_goyal
Kilo Contributor

Hi All,

We are trying to get DB2 Instances using service now discovery but the only thing we are getting the number of instances. We want to pull the DB2 Instance name. Any idea which probe we can use to achieve the same.

Regards,

ishant

5 REPLIES 5

ishant_goyal
Kilo Contributor

Thanks Jason for sharing this out to help others struggling through this piece.


Just a few more instructions and informaiton before you use this.


1. It will work for the UNIX based systems hosting DB2 Database.


2. Discovery user should at least have sudo access on the end system in order to run the DB2 script.