# Delete vSphere host

**URL:** <https://community.icinga.com/t/delete-vsphere-host/4167>\
**Category:** Icinga Web Modules\
**Created:** [April 21, 2020, 1:36pm UTC](https://community.icinga.com/t/delete-vsphere-host/4167 "2020-04-21T13:36:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![picoroma](https://community.icinga.com/user_avatar/community.icinga.com/picoroma/32/2235_2.png) [@picoroma](https://community.icinga.com/u/picoroma)\
**Post date:** [April 21, 2020, 1:36pm UTC](https://community.icinga.com/t/delete-vsphere-host/4167/1 "2020-04-21T13:36:59Z")

</div>

Hi All!  
I have installed the vSphere module on my ICINGA2 installation  
.  
I have correctly added 2 ESX servers and I can see all the VM inside these hosts.  
Now I want to delete one of the ESX server but the delete button do not work.  
I I try do delete the HOST - the delete button is present but when pushed - nothing happens!  
P.

---

<div class="post-metadata">

**Author:** ![elippmann](https://community.icinga.com/user_avatar/community.icinga.com/elippmann/32/743_2.png) [@elippmann](https://community.icinga.com/u/elippmann)\
**Post date:** [April 27, 2020, 1:16pm UTC](https://community.icinga.com/t/delete-vsphere-host/4167/2 "2020-04-27T13:16:05Z")

</div>

Hi @picoroma,

Did you have a look at the logs or could track the response of the delete action with the developer tools of your browser? We need more information on what is going wrong in order track this down.

All the best,  
Eric

---

<div class="post-metadata">

**Author:** ![picoroma](https://community.icinga.com/user_avatar/community.icinga.com/picoroma/32/2235_2.png) [@picoroma](https://community.icinga.com/u/picoroma)\
**Post date:** [April 27, 2020, 4:00pm UTC](https://community.icinga.com/t/delete-vsphere-host/4167/3 "2020-04-27T16:00:23Z")

</div>

I have enabled the developer tools.  
Not error appear - but some warning into CONSOLE (when I push on DELETE):

 ![image](https://community.icinga.com/uploads/default/original/2X/5/5d4615c52a25b1532634bd84d85ea572f0a80e85.png)  
But I think that this cannot be the reason…

---

<div class="post-metadata">

**Author:** ![unic](https://community.icinga.com/user_avatar/community.icinga.com/unic/32/200_2.png) [@unic](https://community.icinga.com/u/unic)\
**Post date:** [April 28, 2020, 9:39am UTC](https://community.icinga.com/t/delete-vsphere-host/4167/4 "2020-04-28T09:39:03Z")

</div>

HI, deleting is also not working on my site. Haven’t found the reason yet.

---

<div class="post-metadata">

**Author:** ![anon66228339](https://community.icinga.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@anon66228339](https://community.icinga.com/u/anon66228339)\
**Post date:** [April 28, 2020, 10:09am UTC](https://community.icinga.com/t/delete-vsphere-host/4167/5 "2020-04-28T10:09:26Z")

</div>

Anything in the icingaweb2 log? I remember a problem like this for a customer, solution was to install a missing php package which was required for one of the required modules.

---

<div class="post-metadata">

**Author:** ![picoroma](https://community.icinga.com/user_avatar/community.icinga.com/picoroma/32/2235_2.png) [@picoroma](https://community.icinga.com/u/picoroma)\
**Post date:** [April 28, 2020, 3:37pm UTC](https://community.icinga.com/t/delete-vsphere-host/4167/6 "2020-04-28T15:37:12Z")

</div>

Where is this log located ?  
I have checked the phpmodules needed and seems that all necessary modules was installed.  
At the beginning I has a problem Adding the server - And this was due to a missing PHP module.  
I have installed and the ADD procedure works fine.  
But now Is not possible to delete it.  
 ![Screenshot_13](https://community.icinga.com/uploads/default/original/2X/5/50eaa0216dcd706dd37d11d1297817554b0f42a0.jpeg)

 ![Screenshot_12](https://community.icinga.com/uploads/default/original/2X/4/44c926268599cff25bb5226a42676ee1adadf678.jpeg)

---

<div class="post-metadata">

**Author:** ![picoroma](https://community.icinga.com/user_avatar/community.icinga.com/picoroma/32/2235_2.png) [@picoroma](https://community.icinga.com/u/picoroma)\
**Post date:** [April 28, 2020, 3:46pm UTC](https://community.icinga.com/t/delete-vsphere-host/4167/7 "2020-04-28T15:46:07Z")

</div>

I noticed some problem with the vsphere deamon…  
into the syslog I have:

 ![Screenshot_14](https://community.icinga.com/uploads/default/original/2X/f/f132f7d6fce63268f527e5b0e2e0acf06e27324d.jpeg)

It seems that this deamon stop & start automatically…

---

<div class="post-metadata">

**Author:** ![picoroma](https://community.icinga.com/user_avatar/community.icinga.com/picoroma/32/2235_2.png) [@picoroma](https://community.icinga.com/u/picoroma)\
**Post date:** [April 28, 2020, 4:55pm UTC](https://community.icinga.com/t/delete-vsphere-host/4167/8 "2020-04-28T16:55:09Z")

</div>

I’m having this problem:

> <https://github.com/Icinga/icingaweb2-module-vspheredb/issues/143>
>
> Expected Behavior
> 
> The icinga-vspheredb.service systemd service should be running constantly.
> Current Behavior
> 
> The service starts up, terminates, starts up again, terminates, ... ad infinitum
> Logs:
> Dec...

Applied the Workaorund.  
Now deamon it’s stable running.  
But still cannot delete the HOST

---

<div class="post-metadata">

**Author:** ![aclark6996](https://community.icinga.com/letter_avatar_proxy/v4/letter/a/5f9b8f/32.png) [@aclark6996](https://community.icinga.com/u/aclark6996)\
**Post date:** [August 4, 2020, 7:34pm UTC](https://community.icinga.com/t/delete-vsphere-host/4167/9 "2020-08-04T19:34:11Z")

</div>

Hello All,  
I know this is an old post but it does not have a resolution to the problem. Does anyone have a fix to this post? I am also having problems with deleting vCenter server out of the vSphere module.

Hello @picoroma,  
Did you every find a fix to this problem?

Many thanks  
Alex

---

<div class="post-metadata">

**Author:** ![anmira](https://community.icinga.com/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@anmira](https://community.icinga.com/u/anmira)\
**Post date:** [November 4, 2020, 5:56am UTC](https://community.icinga.com/t/delete-vsphere-host/4167/10 "2020-11-04T05:56:25Z")

</div>

I’ve just installed and added 2 hosts no problem.  
I later tried to add a third one that didn’t show, so I tried to delete and still there.

I am adding a 4th one but still doesn’t show as well.  
Anything else to try? Other than delete the Database and start from 0?
