# How can I develop my custom module in IcingaWeb2?

**URL:** <https://community.icinga.com/t/how-can-i-develop-my-custom-module-in-icingaweb2/11534>\
**Category:** Icinga Web Modules\
**Tags:** modules, icingaweb2, icinga2\
**Created:** [March 3, 2023, 7:01am UTC](https://community.icinga.com/t/how-can-i-develop-my-custom-module-in-icingaweb2/11534 "2023-03-03T07:01:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kashanzafar2014](https://community.icinga.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@kashanzafar2014](https://community.icinga.com/u/kashanzafar2014)\
**Post date:** [March 3, 2023, 7:01am UTC](https://community.icinga.com/t/how-can-i-develop-my-custom-module-in-icingaweb2/11534/1 "2023-03-03T07:01:12Z")

</div>

Hi Icinga Community,  
Hope you all are doing well. For a while now, I have trying to build my own custom module in IcingaWeb2 from scratch. I am facing a lot of issues in this regard. In the past, there was a utility called Icinga Module Studio but as per my research I believe it has been discontinued. I wanted to know that is there any other utility, guide or another helpful material that can help in building custom modules in IcingaWeb2. I will be very grateful for you for this help. Thanks in advance.

- Icinga Web 2 version (`icingaweb2 --2.11.2`)
- Icinga 2 version (`icinga2 --2.13`)
- PHP version (`php --7.4`)
- Operating System (`OS --Ubuntu`)

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [March 3, 2023, 7:06am UTC](https://community.icinga.com/t/how-can-i-develop-my-custom-module-in-icingaweb2/11534/2 "2023-03-03T07:06:29Z")

</div>

you can use [GitHub - Icinga/icingaweb2-module-training at update-2022](https://github.com/Icinga/icingaweb2-module-training/tree/update-2022)  
or the main branch of [GitHub - Icinga/icingaweb2-module-training: Training class for Icinga Web 2 module developement](https://github.com/Icinga/icingaweb2-module-training).

You can also get inspired by a lot of other modules, use github search for icingaweb-module

or you wait till 17.May 2023 🙂 I will present such a thing at IcingaCamp Berlin

---

<div class="post-metadata">

**Author:** ![Matlib](https://community.icinga.com/user_avatar/community.icinga.com/matlib/32/4164_2.png) [@Matlib](https://community.icinga.com/u/Matlib)\
**Post date:** [March 4, 2023, 4:50pm UTC](https://community.icinga.com/t/how-can-i-develop-my-custom-module-in-icingaweb2/11534/3 "2023-03-04T16:50:25Z")

</div>

[PNP](https://exchange.icinga.com/icinga/PNP) is an excellent starter as it demonstrates multiple functions like adding a new top level menu, configuration page, host and service level widgets and so on. However it works only with Monitoring.

The API for IcingaWebDB has changed and [reportedly](https://community.icinga.com/t/migrating-plugin-to-icingadb/11508/2) there’s no equivalent for it so far.

I highly recommend using PHP 8.1+ for development as there are quite a few incompatibilities with earlier versions and you’re going to repair your plugin very soon.

> there was a utility called Icinga Module Studio

Could you post a link maybe? I’ve never heard of it and Internet search shows [nothing](https://duckduckgo.com/?q=%22Icinga+Module+Studio%22).

---

<div class="post-metadata">

**Author:** ![kashanzafar2014](https://community.icinga.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@kashanzafar2014](https://community.icinga.com/u/kashanzafar2014)\
**Post date:** [March 7, 2023, 5:08am UTC](https://community.icinga.com/t/how-can-i-develop-my-custom-module-in-icingaweb2/11534/4 "2023-03-07T05:08:33Z")

</div>

Thank you very much @moreamazingnick for your insight and help. I think it will be very helpful for me. It will study this documentation and return with more questions. One more thing, is this IcingaCamp online or on permsis?

---

<div class="post-metadata">

**Author:** ![kashanzafar2014](https://community.icinga.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@kashanzafar2014](https://community.icinga.com/u/kashanzafar2014)\
**Post date:** [March 7, 2023, 5:11am UTC](https://community.icinga.com/t/how-can-i-develop-my-custom-module-in-icingaweb2/11534/5 "2023-03-07T05:11:57Z")

</div>

@Matlib The Icinga Module Studio, I think has been dis-continued, as there is not any github link regarding it anymore and not much material regarding it.

Can someone please confirm this?

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [August 25, 2023, 10:41am UTC](https://community.icinga.com/t/how-can-i-develop-my-custom-module-in-icingaweb2/11534/6 "2023-08-25T10:41:06Z")

</div>

> **[GitHub - moreamazingnick/icingaweb2-module-scaffoldbuilder](https://github.com/moreamazingnick/icingaweb2-module-scaffoldbuilder)**
>
> Contribute to moreamazingnick/icingaweb2-module-scaffoldbuilder development by creating an account on GitHub.
