popen4 or open4?  The RHEL6 comps has open4, and I think it's open4 that the discovery plugin needs.