# Migrating plugin to IcingaDB

**URL:** <https://community.icinga.com/t/migrating-plugin-to-icingadb/11508>\
**Category:** Icinga DB\
**Tags:** icingadbweb, plugins\
**Created:** [February 24, 2023, 8:55pm UTC](https://community.icinga.com/t/migrating-plugin-to-icingadb/11508 "2023-02-24T20:55:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nilmerg](https://community.icinga.com/user_avatar/community.icinga.com/nilmerg/32/277_2.png) [@nilmerg](https://community.icinga.com/u/nilmerg)\
**Post date:** [March 1, 2023, 10:17am UTC](https://community.icinga.com/t/migrating-plugin-to-icingadb/11508/2 "2023-03-01T10:17:35Z")

</div>

> How do I register a tabhook with the new interface? Is it even possible?

Yes. By `$this->provideHook('Icingadb/Tab')` and a class in the usual place.

> Is there a simple/example plugin for icingadbweb similar to the pnp module?

No. Not yet.

> My plugin seems to show up in some legacy mode (via CompatObject).

Icinga DB Web currently doesn’t even support the legacy integration of `Monitoring/ObjectDetailsTab` hooks. So I don’t know how you got that error. Which hook are you actually using?

---

_[View the full topic](https://community.icinga.com/t/migrating-plugin-to-icingadb/11508)._
