I am trying to setup the Director module. I have to complete a few fields. One of them is “Endpoint Name” what is this and how do I get it?
Hi,
the endpoint name is typically the same as the host’s FQDN. This one is used to connect against Icinga 2 's REST API and do the initial sync on setup.
Cheers,
Michael
Thanks Michael I will check this out
That worked but now I get this:
Storing icinga_command[vmware-esx-soap-vm-mem-usage] failed: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (“director”.“icinga_command_var”, CONSTRAINT “icinga_command_var_command” FOREIGN KEY (“command_id”) REFERENCES “icinga_command” (“id”) ON DELETE CASCADE ON UPDATE CASCADE), query was: INSERT INTO icinga_command_var (command_id, varname, varvalue, format) VALUES (?, ?, ?, ?) {array ( ‘id’ => ‘190’, ‘object_name’ => ‘vmware-esx-soap-vm-mem-usage’, ‘object_type’ => ‘external_object’, ‘disabled’ => ‘n’, ‘methods_execute’ => ‘PluginCheck’, ‘command’ => ‘check_vmware_esx’, ‘timeout’ => 60, ‘zone_id’ => NULL, )} (DbObject.php:839)
Reminds me of this issue.
It says to modify the database resource to persistent = no
.
Cheers,
Michael