Hi, I'm new to Icinga. I like to migrate my Nagios to Icinga 2, because it fits my needs better. I already did some initial tests and I have some questions about doing things with Icinga in best practice.
I want to monitor > 10 virtual machines. I setup a Icinga master with Icingaweb2. My VMs currently run an NRPE server. Nagios does also checks like HTTP up, SMTP up, etc. The VMs should get an Icinga agent instead when I migrate them from Nagios to Icinga. I want the agents to be configured locally. When the agent stops reporting to the Icinga master, I get a notification. So far, so good. First question is regarding the ping checks. The agent will ping it's own local IPs after the setup. That is not very helpful, as of I want to see if the VMs are external available. So I blacklisted all hosts for ping4/ping6 and whitelisted the Icinga master for ping4/ping6. The master will not start ping checks, until I add address/adress6 entries to the Host definition. The host definition for the connected agents has been auto-generated in the repository.d/hosts folder. I can add the address / address6 entries there and after the config has been reloaded the master will ping the agent hosts (seen by higher latency). Is it best practice to change the autogenerated files or sho uld I do this different? This is somehow connected to my other question. I like the master to perform SSH, HTTP, SMTP, etc. checks. Icinga complains about syntax errors, when I add custom vars to the autogenerated host objects, e.g. vars.os = Linux. Am I required to define a second separate host object for these checks? As of I'm not allowed to name it like the agent fqdn already used by the agent, I need to call it different and keep in mind that this a still the same hosts. Or is there another way to add additional checks performed by the master to the hosts running a connected agent? Regards, Volker _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users