Oracle DB Instances Check and update host definitions automatically

Hello,

I want to automate the Oracle DB instances detection on a number pre-defined hosts. An active check at some interval will be performed to check the DB SIDs existence and update the host SID definitions ( currently static ) automatically. Is this something possible in some way?

I prefer not to use passive check method.

Thanks