# Azure Monitoring - Realtime example

**URL:** <https://community.icinga.com/t/azure-monitoring-realtime-example/13936>\
**Category:** Icinga Web Modules\
**Created:** [August 1, 2024, 1:05pm UTC](https://community.icinga.com/t/azure-monitoring-realtime-example/13936 "2024-08-01T13:05:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sudhir\_45418](https://community.icinga.com/letter_avatar_proxy/v4/letter/s/53a042/32.png) [@sudhir\_45418](https://community.icinga.com/u/sudhir_45418)\
**Post date:** [August 1, 2024, 1:05pm UTC](https://community.icinga.com/t/azure-monitoring-realtime-example/13936/1 "2024-08-01T13:05:21Z")

</div>

Hi Team,

[icingaweb2-module-azure/README.md at master · credativ/icingaweb2-module-azure (github.com)](https://github.com/credativ/icingaweb2-module-azure/blob/master/README.md) - I have installed the azure module and can see the objects on ICINGA. I am looking for help in converting this information into monitors. Can someone pls help here -

---

<div class="post-metadata">

**Author:** ![log1c](https://community.icinga.com/user_avatar/community.icinga.com/log1c/32/2071_2.png) [@log1c](https://community.icinga.com/u/log1c)\
**Post date:** [August 2, 2024, 12:00pm UTC](https://community.icinga.com/t/azure-monitoring-realtime-example/13936/2 "2024-08-02T12:00:44Z")

</div>

This module extends the Directors Import & Sync.  
You will first need to create an import source, like the modules github page describes, e.g. for virtual machines.

After this you need to create a sync rule that converts the objects from the import source into icinga objects, like hosts.

In the import source you can modify the retrieved data.  
In the sync rule you and information from your import source to the created object, like IP address to the address field, or the operating system to a custom variable `os`.

The Directors doc page has an example for importing windows servers from an AD into icinga. That shows you the connection between the import source and the sync rule.  
[https://icinga.com/docs/icinga-director/latest/doc/70-Import-and-Sync/](https://icinga.com/docs/icinga-director/latest/doc/70-Import-and-Sync/)

---

<div class="post-metadata">

**Author:** ![sudhir\_45418](https://community.icinga.com/letter_avatar_proxy/v4/letter/s/53a042/32.png) [@sudhir\_45418](https://community.icinga.com/u/sudhir_45418)\
**Post date:** [August 4, 2024, 7:02pm UTC](https://community.icinga.com/t/azure-monitoring-realtime-example/13936/3 "2024-08-04T19:02:40Z")

</div>

Thank You. The sync job is failing with error " Attribute ‘check\_command’: Attribute must not be empty". However the error is straight forward but how can I assign the check command to large group of Azure objects that are being imported to ICINGA. Pls advise.

---

<div class="post-metadata">

**Author:** ![log1c](https://community.icinga.com/user_avatar/community.icinga.com/log1c/32/2071_2.png) [@log1c](https://community.icinga.com/u/log1c)\
**Post date:** [August 5, 2024, 6:20am UTC](https://community.icinga.com/t/azure-monitoring-realtime-example/13936/4 "2024-08-05T06:20:03Z")

</div>

The check command should be set in the host template. After that use the template in your sync rule when creating the host objects.

---

<div class="post-metadata">

**Author:** ![inaraghj](https://community.icinga.com/user_avatar/community.icinga.com/inaraghj/32/7984_2.png) [@inaraghj](https://community.icinga.com/u/inaraghj)\
**Post date:** [August 7, 2024, 9:35am UTC](https://community.icinga.com/t/azure-monitoring-realtime-example/13936/5 "2024-08-07T09:35:44Z")

</div>

Thank you @log1c this insight. this is useful for me
