Open sjoeboo opened 12 years ago
// get object_id by its FQDN
// using function searchByMgmtHostname()
// soffanias@gmail.com
case 'searchByMgmtHostname':
require_once 'inc/init.php';
assertStringArg ("fqdn", TRUE);
$object_id = searchByMgmtHostname(( $_REQUEST['fqdn'] ));
sendAPIResponse($object_id);
break;
We would lik to query for a given system and get back its location data. We key off of fqdn/hostname, which is used for fqdn, visible label, and the object name.