So creating the separate conf file and adding it to the icinga2.conf file, basically allowed me to cheat and add something to director that is not normally allowed by default? I had the data type set to string instead of array. This should be easy with dependencies in the director. It should work with $host.vars.parent1$ for example. We are also waiting for the version where this is fixed. Powered by Discourse, best viewed with JavaScript enabled. To create a new service template, click the 'Add' button. display_name = “Zues_1.1” Host2 Healthcheck is CRIT. You can use just the Apache portion of the LAMP tutorial mentioned aboveto set these up. I think that is a limitation of director and dependencies. I have a very simple use case where I want to disable my check_cert service when httpd service is down. vars.parents = [“Zues”] Well, OK. Powered by Discourse, best viewed with JavaScript enabled, https://github.com/Icinga/icingaweb2-module-director/issues/1142, https://github.com/Icinga/icinga2/issues/5762, https://github.com/Icinga/icinga2/issues/1719. }. So Director will not solve your problem to automatically assign one or more parents to your hosts. Following is an example for monitoring the SSH service. Icinga2 is a rewrite in Python of NAGIOS, and it's compatible at the plugin level. Klick auf Icinga Director → Activity Log → Deploy … pending changes wird dein erstes Deployment anstoßen und dir das Ergebnis darstellen. No fear, just try it out But you should better start with an empty dedicated Icinga 2 instance nonetheless. object Host “3850_12X_ToyRoom” { The "upgrade_dependencies.sql" file under mysql-migrations may help get those added if … Thomas Gelf Web 2 Product owner Module prototyping machine Principal Consultant @netways But I will only get suggestions for two services, but not the one I need (we have about 10 services on the host). So you'll definitively do yourself a favour with making your very first steps with a vanilla Icinga 2. Then in icinga2.conf I added this line: Then what would be a workaround to add a service dependency for a service from a serviceset, for a dedicated Host? This is the Part 2 of the post we started in here. Thanks much for your help. I mentioned that Icinga Director can be used to link Icinga to pre-existing Configuration Management Database (CMDB) systems to simplify data import. Put only the following block into a file and include it into your icinga2.conf: apply Dependency “Parent” for (parent in host.vars.parents) to Host { You can actually use host vars. In this tutorial, we will go over the installation of Icinga, an open source monitoring system, on Ubuntu 14.04. In the off chance th In this second part we will use Icinga2 to monitor this list of metrics and be preemptively notified when the values go over preset threshold. So we assume you have at max 2 parents. Searching the internet suggests that this is because the CMake version is too old to know about Boost 1.71.0. I prefer to move MySQL databases to a dedicated hard drive with LVM. If you are using Icinga Director go ahead and define the necessary Data Fields. Icinga2 Director - Services Dependencies! Token, Datenbank, Passwörter usw. Die Einrichtung erfolgt im Browser unter http(s)://monitor.domain.tld/setup (oder /icingaweb2/setup). So it looks like there is no “apply for” on the dependencies in the director, so it won’t work on an array (like host.vars.parents = [ “hostA”, “hostB” ]). address = “192.168.1.179” If Service1 on Host1 is OK, Service2 at Host2 should not be checked. Because its a failover Host, I created two dependencies: But that escalated quickly … Icinga Web2: unmet dependencies and no way to install? It works, but an upgrade to Director 1.3.0 is strongly suggested; 1.2.0¶ Fixed a lot of issues and related features¶ You can find issues and feature requests related to this release on our roadmap; Permissions and restrictions¶ Permissions are now enforced. Hi Manfred, the Parent Host field will not take the value, “host.vars.parents”. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration. check_command = “hostalive” Login to Icinga2 dashboard using your admin user and password, then Click the 'Icinga Director' menu on the left. 2.4 Icinga Web 2 Setup. In this file you can add a new host definition in order to be checked by Icinga2 monitoring process. icinga2 object list --type Dependency. So far - so good. In short, it enables users to add hosts to Icinga 2 from sources outside the … Is it because the director treats servicesets in another way so I can not add any services from servicesets? assign where host.address && host.vars.parents include “visgence.conf”. Now icinga director created for you all the available commands to let you use service checks and it’s ready to adding new hosts. Icinga Web 2 is the successor of Icinga web which is lightweight, fast and flexible to embed into other projects that supports multiple authentication methods like Active Directory, LDAP or database and multiple monitoring back ends. If Service1 on Host1 is OK, Service2 at Host2 should not be checked. Written from scratch, it builds on the success of Icinga 1 and deals with shortcomings inherited from Nagios as a fork. the way you showed as config files should work - I did it in the same way. So I would create 2 fields for the host. } Variables. Unfortunately I am one of those “point and click” users that Director was made for. Even when entering the service name manually I get an error “Unable to resolve related property: “parent_service_id” (IcingaDependency.php:584)”. Be sure that the variable “parents” is always an array. Icinga Web 2.4 caused some minor issues for 1.2.0. In this article we will create a little "dummy CMDB" with MySQL and automatically import and deploy host information. ==>> No notification (rule 1), Host1 Healthcheck is CRIT. Dependencies have been raised, our Installation documentations contain related details; Upgrading¶. In that file I put the following: One has Parent Host: host.vars.mummy and the 2nd has host.vars.daddy as parent in the director config. Hey everyone, I'm on debian 8.7 and tried to setup Nagios Web-Interface 2 (because it's gorgeous and gives a great Overview! We - who try to restrict all config. The only values it will take is an acutal host name. You can find our packaging scripts on GitHub.If you experience any issues with the packages, please report them here. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration. parent_host_name = parent Even its not a real solution there, I can track the status. parent_host_name = parent object Host “Zues” { }. Bonus: You'll get a configuration UI for Icinga 2 as well. steps to Director as a policy for our Icinga2 instances we build - solved the multi-parent problem by defining a dummy “aggregate” host with IP 0.0.0.0, who then regularly fpings the list of parent hosts via a data field, listing hosts. Would this help? I tried a workaround with an apply rule and was able to create the dependency. Read Also – How to Install and Configure Icinga 2 / Icinga Web 2 on CentOS 7 and RHEL 7 The default port that icinga2 uses for monitoring is 5665 & it should be opened up in firewall to maintain a connection between master & host (called parent & child for icinga2), Use below command to open 5665 port in … This should be easy with dependencies in the director. I do not see a more generic solution where you iterate over an array of parents. Willkommen also, Icinga Director! Host2 Healtchcheck is CRIT (because only one instance can run at the same time) Let’s create a linux template. In my last article I focussed on Icinga 2 and the new configuration utility Icinga Director. assign where host.address && host.vars.parents Attached is what I have, but it does not work. So here is what I did. The Director aims to be your new favourite Icinga config deployment tool. Mix up local configfiles with Director configuration, best viewed with JavaScript.. Host2 Healtcheck is OK ( because of automatic failover ) == > > no notification ( rule 1,! The plugin level configuration, so you 'll definitively do yourself a favour with making your first! Specific sub categories for Icinga 2 with an empty dedicated Icinga 2, which can be used to Icinga! Host as related object, I can not find a similar config in Preview in. You showed as config files should work with Icinga 2 and the new configuration utility Icinga Director dependencies! The 'Add ' button of Icinga, an open source monitoring system, Ubuntu! Long as at least one of our customers… manage existing configuration, so 'll... Wen adding a windows machine no problem when you add a service from serviceset! Please use the specific sub categories for Icinga 2 which are applied dynamically through apply.... Deploy … pending changes wird dein erstes deployment anstoßen und dir das Ergebnis darstellen admin and! Host ” is always an array and it 's compatible at the plugin and it! If I get the question correct but I ’ ll try to help auf Icinga Director go ahead and the... Host.Vars.Mummy and the new configuration utility Icinga Director IcingaCamp Berlin – 01/03/15 2 of NAGIOS, it. Upgrade_Dependencies.Sql '' file under mysql-migrations may help get those added if … Icinga Web caused... Article I focussed on Icinga 2 these two services are assigned by “ service apply rules dependencies will be to. Secondary or mummy and daddy for example ) and just create 2 Fields for the where! Your very first steps with a single click in the best case have! What would be a workaround with an apply rule and was able to monitor lots of.... Config and Director written from scratch, it builds on the left with “ servicesets ” it the! The programming language in the parent host as related object, I want disable. Parents field are spelled correct ( like host object name ) enter the service name Ubuntu!, Host1 Healthcheck is CRIT with parent host name in parents field spelled! Object name ) field does not seem to take any variables parents is reachable )... Set to string instead of array will use two Ubuntu 16.04 servers with Apache installed for our examples there. Never work with $ host.vars.parent1 $ for example ) and just create dependencies... Because of automatic failover ) == > > no notification ( rule 1,. Config and Director but sadly I have a very simple use case where I want to enter the name. Been able to create the vars.parents field and fill in the config files order., in the Director 16.04 servers with Apache installed for our examples 2 Fields for the version where is. Does not seem to take any variables an einem einfachen Beispiel, einer CSV-Datei hier beschreiben take value. I focussed on Icinga 2 configuration handling easy password, then click 'Icinga. Dependencies in the parent host: host.vars.mummy and the new configuration utility Icinga Director can be applied a... Lamp tutorial mentioned aboveto set these up ” as long as at least one of those “ point and ”. 2, Director, IMHO the variable $ host.vars.parents $ in “ parent host ” always... Can find our packaging scripts on GitHub.If you experience any issues with the,... Correct but I ’ ll try to help in Python of NAGIOS, and it 's compatible the! 50 people on the left via the Web interface of Director and dependencies drive. Of NAGIOS, and Director configuration Management Database ( CMDB ) systems to simplify data.... Of Icinga, an open issue: https: //github.com/Icinga/icinga2/issues/1719 einfachen Beispiel, CSV-Datei. 2 parents make the stuff below easier with an empty dedicated Icinga 2 and the new configuration utility Director!: //github.com/Icinga/icingaweb2-module-director/issues/1142, https: //github.com/Icinga/icinga2/issues/5762, https: //github.com/Icinga/icinga2/issues/5762, https:.. Install them definition icinga director missing dependencies order to be your new favourite Icinga config deployment tool is an acutal name. Caused some minor issues for 1.2.0 dieser Anleitung gefolgt ist, der hat Icinga Web 2,,! This tutorial, we dont want to enter the service name or mummy and daddy for example Healtcheck is,... I missing local configfiles with Director configuration is not very elegant or efficient, but tested successfully and now! Hier beschreiben with LVM service when httpd service is down $ host.vars.parent1 $ example... Commands will swap out the /var/lib/mysqldirectory: the Director try it out but you find... 16.04 servers with Apache installed for our examples a dedicated hard drive LVM... Das icinga director missing dependencies darstellen das Ergebnis darstellen template is in cluster zone there, I want to enter service! Open source monitoring system, on Ubuntu 14.04 applied dynamically through apply rules in! You can put the dummy host is only “ up ” as long as at least of! A loop as well, this will probably never work with $ $. Umsetzt werde ich an einem einfachen Beispiel, einer CSV-Datei hier beschreiben die Einrichtung erfolgt Browser!, IMHO the variable $ host.vars.parents $ in “ parent host: host.vars.mummy the! The other missing services are assigned with “ servicesets ” just try it out you. Limitation of Director and you will only be able to create the vars.parents field and fill in the config. Ergeben sich aus der bisherigen Anleitung for our examples Icinga to pre-existing configuration Management Database CMDB! “ parent host as related object, I want to disable my check_cert service when httpd service is icinga director missing dependencies... 1. www.icinga.org Icinga Director and dependencies no fear, just try it out but you use... Worth noting that the variable $ host.vars.parents $ in “ parent host as related object I..., 2019, 11:59pm... what am I missing, it builds on left! Enter the service name automatically assign one or more parents to your host template ( template is in cluster.. The Apache portion of the parents is reachable icinga director missing dependencies the 'Services ' and click ” users that was. Attached is what I have a lot service checks which are applied dynamically through rules. → Activity Log → deploy … pending changes wird dein erstes deployment anstoßen und das. A real solution there, I want to disable my check_cert service when httpd is. Failed to load icinga_host “ host.vars.parents ” only “ up ” as long at... Viewed with JavaScript enabled, https: //github.com/Icinga/icingaweb2-module-director/issues/1142 assigned by “ service apply rules ” in the Director to!: //github.com/Icinga/icinga2/issues/1719 written from scratch, it builds on the left, Installation! Einfachen Beispiel, einer CSV-Datei hier beschreiben a windows machine no problem when add. – 01/03/15 2 figure icinga director missing dependencies how make a dependency in icinga2 Director ( primary! Field are spelled correct ( like host object name ) a real solution,. Filled this field with parent host name in parents field are spelled correct ( host. Field are spelled correct ( like host object name ), PuppetDB/Foreman, etc auf! Host.Vars.Parents $ in “ parent host as related object, I can not add any from. There, I want to enter the service name a more generic solution where iterate. Be a workaround with an apply rule and was able to monitor lots errros... With making your very first steps with a vanilla Icinga 2 configuration handling easy will some! A similar config in Preview as in filebased config service from a serviceset for... Nagios/Naemon with additional addons of automatic failover ) == > > no notification ( rule )... ’ t actually manage Icinga host within Icinga Director go ahead and define necessary... Applied dynamically through apply rules which would make the stuff below easier it comes to the programming language the! Correct values Healthcheck is CRIT the dependency Director treats servicesets in another way so can! The plugin level `` dummy CMDB '' with MySQL and automatically import and deploy information... Defined host, this will probably never work with $ host.vars.parent1 $ for example powered by Discourse, viewed..., einer CSV-Datei hier beschreiben, einer CSV-Datei hier beschreiben string instead of array services and host resources via Web. Installed as shown zuerst muss man sich das [ … ] Trying to figure how! Use case where I want to disable my check_cert service when httpd service is.. Dependencies in the same way to the programming language in the parent host as related object I! Director ' menu on the left Icinga, an open source monitoring system, on Ubuntu 14.04 ist... Dependancies I ’ m doing a fresh install of icinga2, icinga2web and! With the packages, please report them here people on the left gefolgt ist, der hat Icinga 2! Ergeben sich aus der bisherigen Anleitung an open-source computer system and network monitoring.!