# Add custom buttons to icinga

**URL:** <https://community.icinga.com/t/add-custom-buttons-to-icinga/6177>\
**Category:** Icinga Web Modules\
**Created:** [November 29, 2020, 9:19pm UTC](https://community.icinga.com/t/add-custom-buttons-to-icinga/6177 "2020-11-29T21:19:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![levasc](https://community.icinga.com/user_avatar/community.icinga.com/levasc/32/3106_2.png) [@levasc](https://community.icinga.com/u/levasc)\
**Post date:** [November 29, 2020, 9:19pm UTC](https://community.icinga.com/t/add-custom-buttons-to-icinga/6177/1 "2020-11-29T21:19:15Z")

</div>

Hello,  
I want to add a custom button with custom command, to host show view. For example, to be able to restart the host by using custom command (which would take host ip as argument). Do you know where to begin to look at?

---

<div class="post-metadata">

**Author:** ![dgoetz](https://community.icinga.com/user_avatar/community.icinga.com/dgoetz/32/917_2.png) [@dgoetz](https://community.icinga.com/u/dgoetz)\
**Post date:** [November 30, 2020, 8:38am UTC](https://community.icinga.com/t/add-custom-buttons-to-icinga/6177/2 "2020-11-30T08:38:13Z")

</div>

I would use a custom navigation to create a host action. This can be found at “your user name” \> “My Account” \> “Custom Navigation”. You can use placeholders like `$host.address$` in the URL there.

If you have to write the webservice to handle it, then I would start with a custom module where [https://github.com/icinga/icingaweb2-module-training](https://github.com/icinga/icingaweb2-module-training) is a good start until there is some more documentation.
