# Automation & Infrastructure

**URL:** https://community.icinga.com/c/icinga-2/automation-infra/12.md?page=1

[Latest](https://community.icinga.com/latest.md) · [Categories](https://community.icinga.com/categories.md) · [Tags](https://community.icinga.com/tags.md)

**Page:** 2

---

## [Icinga agent Puppet question](https://community.icinga.com/t/icinga-agent-puppet-question/8223)

<div class="topic-metadata">

**Author:** [@MikeKall](https://community.icinga.com/u/MikeKall)\
**Replies:** 2\
**Last updated:** [September 15, 2021, 9:54am UTC](https://community.icinga.com/t/icinga-agent-puppet-question/8223 "2021-09-15T09:54:16Z")

</div>

Hi, I am having some problems trying to configure Icinga agent with puppet. I have this in my manifest: class hg\_winmonit::agent{ exec{'PowerTools Epel': command =\> "/bin/dnf install -y 'dnf-command(conf…

---

## [How to transfer monitoring data from a previous icinga installation to a new installation](https://community.icinga.com/t/how-to-transfer-monitoring-data-from-a-previous-icinga-installation-to-a-new-installation/8112)

<div class="topic-metadata">

**Author:** [@ltorres.sud](https://community.icinga.com/u/ltorres.sud)\
**Replies:** 1\
**Last updated:** [September 3, 2021, 2:16pm UTC](https://community.icinga.com/t/how-to-transfer-monitoring-data-from-a-previous-icinga-installation-to-a-new-installation/8112 "2021-09-03T14:16:49Z")

</div>

Hi, I’m new to Icinga2. I have the following scenario: Perform a first installation of icinga2 with icingaweb2 and icinga director. I had a hard time automating the inclusion of 1816 hosts to monitor only connectivity (…

---

## [Ansible Icinga Collection (Agent, Plugins, Director and more)](https://community.icinga.com/t/ansible-icinga-collection-agent-plugins-director-and-more/8120)

<div class="topic-metadata">

**Author:** [@xFuture603](https://community.icinga.com/u/xFuture603)\
**Replies:** 0\
**Last updated:** [September 2, 2021, 9:31am UTC](https://community.icinga.com/t/ansible-icinga-collection-agent-plugins-director-and-more/8120 "2021-09-02T09:31:59Z")

</div>

Greetings, In the last couple of weeks we’ve developed a Ansible Icinga Collection to combine all our Ansible based Icinga roles / collections into one package, so you only have to include one source. Currently this co…

---

## [Modify custom variables via api and sync with director](https://community.icinga.com/t/modify-custom-variables-via-api-and-sync-with-director/7982)

<div class="topic-metadata">

**Author:** [@mgx0](https://community.icinga.com/u/mgx0)\
**Replies:** 1\
**Last updated:** [August 11, 2021, 6:48pm UTC](https://community.icinga.com/t/modify-custom-variables-via-api-and-sync-with-director/7982 "2021-08-11T18:48:50Z")

</div>

Hello, I got a task to replace custom vars on 1500 of hosts defined in Icinga. I have done it via api like this: curl -k -s -S -i -u automator:‘password’ -H ‘Accept: application/json’ -X POST ‘https://localhost:5665/v1…

---

## [Failed to install Icinga2 Agent](https://community.icinga.com/t/failed-to-install-icinga2-agent/7858)

<div class="topic-metadata">

**Author:** [@adrian1](https://community.icinga.com/u/adrian1)\
**Replies:** 0\
**Last updated:** [July 26, 2021, 8:40am UTC](https://community.icinga.com/t/failed-to-install-icinga2-agent/7858 "2021-07-26T08:40:41Z")

</div>

Hello, We have lots of zones in our environment. We have a script that is taking from CMDB and getting the API key for each zone. The problem is that for hosts is working and for others no. I get the following message: …

---

## [Idea to develop...maintenance file](https://community.icinga.com/t/idea-to-develop-maintenance-file/7410)

<div class="topic-metadata">

**Author:** [@10RUPTiV](https://community.icinga.com/u/10RUPTiV)\
**Replies:** 6\
**Last updated:** [May 26, 2021, 5:54pm UTC](https://community.icinga.com/t/idea-to-develop-maintenance-file/7410 "2021-05-26T17:54:38Z")

</div>

Hi, Having an idea but not sure where and how to start… We are migrating to icinga client on almost all our host and thinking about something related to maintenance. It will be very useful to simply “touch” an empty f…

---

## [Icinga2 (Master) Complete Installation Script](https://community.icinga.com/t/icinga2-master-complete-installation-script/7398)

<div class="topic-metadata">

**Author:** [@alrodrig](https://community.icinga.com/u/alrodrig)\
**Replies:** 3\
**Last updated:** [May 25, 2021, 7:13am UTC](https://community.icinga.com/t/icinga2-master-complete-installation-script/7398 "2021-05-25T07:13:46Z")

</div>

Hi All!, Is there any way to install Icinga 2 (master) with a single “Enter” using a .sh script? To be more precise the script I’m thinking should do something like this: Add Repository Install Icinga2 Install Monito…

---

## [Icinga Vagrant on Mac with Parallels don't work](https://community.icinga.com/t/icinga-vagrant-on-mac-with-parallels-dont-work/7072)

<div class="topic-metadata">

**Author:** [@ITFreelancer](https://community.icinga.com/u/ITFreelancer)\
**Replies:** 1\
**Last updated:** [April 11, 2021, 3:45am UTC](https://community.icinga.com/t/icinga-vagrant-on-mac-with-parallels-dont-work/7072 "2021-04-11T03:45:50Z")

</div>

Hello, all Icinga Vagrant Boxes don’t work for me. I use these components: macOS Big Sur 11.2.3 Parallels Desktop Pro 16 for Mac 16.1.3 Vagrant 2.2.15 Vagrant Parallels Plugin 2.2.0 And this is the error log: user…

---

## [Icinga2 client install without pki ticket](https://community.icinga.com/t/icinga2-client-install-without-pki-ticket/6862)

<div class="topic-metadata">

**Author:** [@10RUPTiV](https://community.icinga.com/u/10RUPTiV)\
**Replies:** 6\
**Last updated:** [March 8, 2021, 2:02pm UTC](https://community.icinga.com/t/icinga2-client-install-without-pki-ticket/6862 "2021-03-08T14:02:31Z")

</div>

Hi, Is there a way that we can have an auto-install package that will install on Windows and why not Linux that will have a minimum client config but without having to manually going back on the server to do an icinga p…

---

## [Start-IcingaAgentInstallWizard SelfServiceAPIKey Parameter not accepted](https://community.icinga.com/t/start-icingaagentinstallwizard-selfserviceapikey-parameter-not-accepted/6492)

<div class="topic-metadata">

**Author:** [@torbad](https://community.icinga.com/u/torbad)\
**Replies:** 0\
**Last updated:** [January 16, 2021, 5:45pm UTC](https://community.icinga.com/t/start-icingaagentinstallwizard-selfserviceapikey-parameter-not-accepted/6492 "2021-01-16T17:45:49Z")

</div>

Hi dear community, first, I’m new here and with Icinga. I’m testing to set up an automated installation of the Windows Icinga Agent. Icinga2web/director is installed and a host-template “generic-agent” with SelfServic…

---

## [Is there a descriptive explanation of apply somewhere?](https://community.icinga.com/t/is-there-a-descriptive-explanation-of-apply-somewhere/6458)

<div class="topic-metadata">

**Author:** [@rick\_pri](https://community.icinga.com/u/rick_pri)\
**Replies:** 2\
**Last updated:** [January 13, 2021, 5:50pm UTC](https://community.icinga.com/t/is-there-a-descriptive-explanation-of-apply-somewhere/6458 "2021-01-13T17:50:54Z")

</div>

Hi there, I’m using the puppet module which maybe makes this a little harder to understand but I don’t think so in this case. Is there a full description somewhere of what apply the following actually means and how it …

---

## [Moving "monit" configuration into icinga2](https://community.icinga.com/t/moving-monit-configuration-into-icinga2/5813)

<div class="topic-metadata">

**Author:** [@10RUPTiV](https://community.icinga.com/u/10RUPTiV)\
**Replies:** 1\
**Last updated:** [October 16, 2020, 10:11pm UTC](https://community.icinga.com/t/moving-monit-configuration-into-icinga2/5813 "2020-10-16T22:11:03Z")

</div>

We are using of course icinga2 for all our monitoring but we are still using “monit” on our Linux machine to restart services if they stop responding. How can we migrate this into icinga2 instead ? Right now if monit d…

---

## [Icinga for Windows - InstallWizard fails to download service binary](https://community.icinga.com/t/icinga-for-windows-installwizard-fails-to-download-service-binary/5814)

<div class="topic-metadata">

**Author:** [@Charr](https://community.icinga.com/u/Charr)\
**Replies:** 0\
**Last updated:** [October 16, 2020, 2:32pm UTC](https://community.icinga.com/t/icinga-for-windows-installwizard-fails-to-download-service-binary/5814 "2020-10-16T14:32:23Z")

</div>

Hi, I’m using the kickstart script to install the Icinga for Windows Powershell framework. The zip file is located on a network share. This is working fine. After that I run the Start-IcingaAgentInstallWizard. Using …

---

## [Ansible Role Icinga Web 2](https://community.icinga.com/t/ansible-role-icinga-web-2/5736)

<div class="topic-metadata">

**Author:** [@mkayontour](https://community.icinga.com/u/mkayontour)\
**Replies:** 0\
**Last updated:** [October 7, 2020, 11:30am UTC](https://community.icinga.com/t/ansible-role-icinga-web-2/5736 "2020-10-07T11:30:37Z")

</div>

I wrote a Ansible Role for Icinga Web 2, I tried to cover all of the major distributions. In addition you can also use it to install modules from git repos without managing their configuration. In the new version, I ad…

---

## [2 issues with Puppet and checkcommand](https://community.icinga.com/t/2-issues-with-puppet-and-checkcommand/5223)

<div class="topic-metadata">

**Author:** [@blackfriar](https://community.icinga.com/u/blackfriar)\
**Replies:** 1\
**Last updated:** [October 5, 2020, 1:51pm UTC](https://community.icinga.com/t/2-issues-with-puppet-and-checkcommand/5223 "2020-10-05T13:51:39Z")

</div>

Hi, I’ve found 2 issues while using puppet to set the “checkcommand”. One is related to the behavior of the puppet module itself and the other is (presumably) with the checkconfig itself. Description: I’m trying to set…

---

## [Icinga2 with Saltstack (WIP, questions)](https://community.icinga.com/t/icinga2-with-saltstack-wip-questions/5355)

<div class="topic-metadata">

**Author:** [@Darkentik](https://community.icinga.com/u/Darkentik)\
**Replies:** 8\
**Last updated:** [September 1, 2020, 1:58pm UTC](https://community.icinga.com/t/icinga2-with-saltstack-wip-questions/5355 "2020-09-01T13:58:23Z")

</div>

Hey Community, in our company i’m setting up an Icinga2 Three-Level-System and have a lot of questions here. The docs are my daily newspaper but i have still questions. First of all i must say, that i will automate th…

---

## [Puppet module check\_disk custom / default values](https://community.icinga.com/t/puppet-module-check-disk-custom-default-values/5289)

<div class="topic-metadata">

**Author:** [@vbits](https://community.icinga.com/u/vbits)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 1:42pm UTC](https://community.icinga.com/t/puppet-module-check-disk-custom-default-values/5289 "2020-08-14T13:42:56Z")

</div>

Hi! i just started with puppet and as a junior administrator with the bad luck that the one who has to teach me doesn’t know how to work puppet either and even less the icinga module. I’ve had a problem for several day…

---

## [Future of the Ansible role for Icinga2. Is there a plan and what can we expect?](https://community.icinga.com/t/future-of-the-ansible-role-for-icinga2-is-there-a-plan-and-what-can-we-expect/5168)

<div class="topic-metadata">

**Author:** [@flokoe](https://community.icinga.com/u/flokoe)\
**Replies:** 7\
**Last updated:** [August 11, 2020, 2:06pm UTC](https://community.icinga.com/t/future-of-the-ansible-role-for-icinga2-is-there-a-plan-and-what-can-we-expect/5168 "2020-08-11T14:06:58Z")

</div>

Hi there, in the past few days I have searched for a solution to install and configure Icinga2 via Ansible. Unfortunately, there is not much out there. I know there is an official Ansible role repository which is or w…

---

## [Network Inventory Automation](https://community.icinga.com/t/network-inventory-automation/5035)

<div class="topic-metadata">

**Author:** [@0xliam](https://community.icinga.com/u/0xliam)\
**Replies:** 3\
**Last updated:** [July 20, 2020, 7:29am UTC](https://community.icinga.com/t/network-inventory-automation/5035 "2020-07-20T07:29:37Z")

</div>

Hi all! This isn’t specifically related to Icinga, but I am wondering how other people have handled this. We’ve automated remote satellite installs, and Windows/Linux installs, but network device inventory and asset de…

---

## [Enterprise monitoring](https://community.icinga.com/t/enterprise-monitoring/4890)

<div class="topic-metadata">

**Author:** [@adrian1](https://community.icinga.com/u/adrian1)\
**Replies:** 4\
**Last updated:** [July 13, 2020, 7:54am UTC](https://community.icinga.com/t/enterprise-monitoring/4890 "2020-07-13T07:54:03Z")

</div>

Hello, How is the best way to monitor a big environment with multiple locations and also some locations behind firewall? each location with their own zone? one satellite or two? one zone per region? How do you automa…

---

## [What component should managed cached data in monitoring architecture?](https://community.icinga.com/t/what-component-should-managed-cached-data-in-monitoring-architecture/4872)

<div class="topic-metadata">

**Author:** [@Someone](https://community.icinga.com/u/Someone)\
**Replies:** 1\
**Last updated:** [July 10, 2020, 9:30am UTC](https://community.icinga.com/t/what-component-should-managed-cached-data-in-monitoring-architecture/4872 "2020-07-10T09:30:22Z")

</div>

Hello, I had the following question that came to my mind after some years of doing monitoring : What component should managed cached data ? Let me detail why, sometime, some metrics cannot be requested in a one shot r…

---

## [Downtime only for tagged/marked hosts and services](https://community.icinga.com/t/downtime-only-for-tagged-marked-hosts-and-services/4875)

<div class="topic-metadata">

**Author:** [@Nexus-6](https://community.icinga.com/u/Nexus-6)\
**Replies:** 0\
**Last updated:** [July 3, 2020, 2:14pm UTC](https://community.icinga.com/t/downtime-only-for-tagged-marked-hosts-and-services/4875 "2020-07-03T14:14:03Z")

</div>

Hi. I have many hosts and services. I need to tag some services for some hosts to do downtime for these tagged services on specific hosts. Can i use custom variables for it? How can i use it, when only filters for downt…

---

## [Hot to set vars.client\_endpoint = name with puppet](https://community.icinga.com/t/hot-to-set-vars-client-endpoint-name-with-puppet/4752)

<div class="topic-metadata">

**Author:** [@blackfriar](https://community.icinga.com/u/blackfriar)\
**Replies:** 1\
**Last updated:** [June 22, 2020, 5:30pm UTC](https://community.icinga.com/t/hot-to-set-vars-client-endpoint-name-with-puppet/4752 "2020-06-22T17:30:57Z")

</div>

Hello there, I’ve got a pretty functional puppet setup for icinga2. Now I’ve just figured out that I have to add vars.client\_endpoint = name to a certain hosts.conf but I cannot find the keyword for that. I’ve tryed v…

---

## [Ansible roles for Icinga2 and Icinga Web 2](https://community.icinga.com/t/ansible-roles-for-icinga2-and-icinga-web-2/4455)

<div class="topic-metadata">

**Author:** [@chrisc](https://community.icinga.com/u/chrisc)\
**Replies:** 3\
**Last updated:** [May 20, 2020, 2:45pm UTC](https://community.icinga.com/t/ansible-roles-for-icinga2-and-icinga-web-2/4455 "2020-05-20T14:45:23Z")

</div>

Typically I have only found other Icinga Ansible implementations linked from threads on this forum after writing my own… :roll\_eyes: However I do generally find myself writing my own from scratch as I then find it easi…

---

## [Using Ansible to add Icinga2 agent to master node](https://community.icinga.com/t/using-ansible-to-add-icinga2-agent-to-master-node/2010)

<div class="topic-metadata">

**Author:** [@andy-beak](https://community.icinga.com/u/andy-beak)\
**Replies:** 4\
**Last updated:** [May 18, 2020, 10:12am UTC](https://community.icinga.com/t/using-ansible-to-add-icinga2-agent-to-master-node/2010 "2020-05-18T10:12:38Z")

</div>

I want to use Ansible to add Icinga2 passive monitoring for my hosts with agent monitoring. I have a single master node and am not using satellites yet. I’ve had some success in setting up the client side thanks to this…

---

## [Master node as multi-site aggregator](https://community.icinga.com/t/master-node-as-multi-site-aggregator/3681)

<div class="topic-metadata">

**Author:** [@aieri](https://community.icinga.com/u/aieri)\
**Replies:** 10\
**Last updated:** [April 28, 2020, 8:01am UTC](https://community.icinga.com/t/master-node-as-multi-site-aggregator/3681 "2020-04-28T08:01:38Z")

</div>

Hi, I’m investigating the functionality of Icinga to see if it would be a good replacement for our current setup. The overall architecture I’d be looking at would be a single master (possibly in HA), and a set of satel…

---

## [Re:Any modules for monitoring the icinga docker mounts](https://community.icinga.com/t/re-any-modules-for-monitoring-the-icinga-docker-mounts/4250)

<div class="topic-metadata">

**Author:** [@rajanikanthsingh](https://community.icinga.com/u/rajanikanthsingh)\
**Replies:** 0\
**Last updated:** [April 28, 2020, 12:28am UTC](https://community.icinga.com/t/re-any-modules-for-monitoring-the-icinga-docker-mounts/4250 "2020-04-28T00:28:54Z")

</div>

Hi Does any module supports monitoring docker mount overlay 72G 12G 60G 17% /var/lib/docker/overlay2/58a85b1d5c1adb2e5f8dbb359a55d0f9db7fe064b484c491/merged shm …

---

## [Does Icinga have an auto-discovery feature?](https://community.icinga.com/t/does-icinga-have-an-auto-discovery-feature/3872)

<div class="topic-metadata">

**Author:** [@user10](https://community.icinga.com/u/user10)\
**Replies:** 1\
**Last updated:** [March 25, 2020, 3:52pm UTC](https://community.icinga.com/t/does-icinga-have-an-auto-discovery-feature/3872 "2020-03-25T15:52:40Z")

</div>

I’m not sure if thiis is the correct category to post this, but I couldn’t find information about an auto-discovery feature. Does Icinga have one similar to what Zabbix has?

---

## [Ansible Role for icinga2](https://community.icinga.com/t/ansible-role-for-icinga2/3848)

<div class="topic-metadata">

**Author:** [@bodsch](https://community.icinga.com/u/bodsch)\
**Replies:** 5\
**Last updated:** [March 22, 2020, 9:39am UTC](https://community.icinga.com/t/ansible-role-for-icinga2/3848 "2020-03-22T09:39:12Z")

</div>

For all who deal with automation on an sensitive basis … I have been writing on an icinga2 for some time now. It currently supports the installation of a master and satellites. Configurations are by and large complete…

---

## [Node setup wizard comparable to Powershell](https://community.icinga.com/t/node-setup-wizard-comparable-to-powershell/3507)

<div class="topic-metadata">

**Author:** [@ctrmint](https://community.icinga.com/u/ctrmint)\
**Replies:** 7\
**Last updated:** [February 14, 2020, 3:29pm UTC](https://community.icinga.com/t/node-setup-wizard-comparable-to-powershell/3507 "2020-02-14T15:29:41Z")

</div>

So far I’ve deployed ~60 Windows servers using Powershell and it’s worked well. #Import Icinga2Agent module, needs to be available in path Import-Module .\\Icinga2Agent.psm1 # Set install parameters $icinga = Icinga2Age…

[Previous page](https://community.icinga.com/c/icinga-2/automation-infra/12.md)

[Next page](https://community.icinga.com/c/icinga-2/automation-infra/12.md?page=2)
