Absolute Beginner

Hi,

I’m new to monitoring and Icinga. So forgive my beginners asking. If I want to monitor 4 servers in a VPN from my computer (Ubuntu desktop), I have to install Icinga-Core, Icingaweb/director on each of the servers and can then simply monitor the servers via icingaweb2 from my computer via a browser. Would I have to install the plug-ins additionally on the servers? I read the documentation on the Icinga page, but I’m not sure now.

Kind Regards

Hi,

I’m new to monitoring and Icinga.

Welcome :slight_smile:

So forgive my beginners asking. If I want to monitor 4 servers in a VPN from
my computer (Ubuntu desktop), I have to install Icinga-Core

Yes.

Icingaweb/director

No.

on each of the servers

Icingaweb (and Director if that’s how you want to configure things) only go/es
onto “the monitoring server” (not the ones being monitored).

and can then simply monitor the servers via icingaweb2 from my computer via
a browser.

Correct.

Would I have to install the plug-ins additionally on the servers?

Yes.

I read the documentation on the Icinga page, but I’m not sure now.

Keep doing that, and let us know if you get stuck / puzzled about anything
else :slight_smile:

Antony.

2 Likes

Hi,

start simple with installing the master instance first. This follows along with the installation instructions including Icinga Web and the Director. Learn about the components and ensure that everything is up and running.

I strongly recommend to use a VM to install the master, and not run that on your Ubuntu desktop.

Then start with adding the first agent host, after having read the distributed monitoring docs to first understand the hiearchy and also gather the instructions for setting up an agent. An agent doesn’t need much - the icinga2 package + plugins.

The Director lends you a hand with adding a new host (add a host template first), and mark this as agent including setup scripts/instructions.

Then add a disk check for this agent host, deploy it and check whether everything works. Once you’re done with that, dig deeper and learn about service sets and more. Then you have one host with a template, add more hosts in the same manner.

Cheers,
Michael

1 Like

Out of interest, why do you recommend installing the Icinga Master on a VM?

Antony.

Resource management, and also maintenance. A desktop environment is used differently than a running monitoring server. And monitoring should run all the time, not being switched off when shutting down a desktop system.

So, I’ll follow the advice and keep it simple. One master (server1) and one to be monitored (server2).
Main target is: monitor server2 with onboard check plug ins. Servers 1 and 2 are each created as VM (Ubuntu server) on two different machines in a VPN.

I’ve installed Icinga2 and Icingaweb2+Director Module on server1. When browsing from my Laptop via Icingaweb it looks now like this.

What “Endpoint” is the director looking for? server2?

So now I need to install what on server2 everything I’ve installed on server1 except Icingaweb/director?!

Are there any tutorials out there how to configure in director to get the check information from server2 displayed in Icingaweb2 (server1).

kind regards and have mercy on my inability

Hi and welcome!

Please read this: https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/ at least up to and including “Master Setup”

It has a lot of useful information’s about how Icinga works. As the Director is based on best practices it expect some default configuration that are in place if you follow this guide and used the node wizard like shown in the example under “Master Setup”. Even if you don’t want to user master/satellite setup, this basic configuration is a good start to build your setup and using the Director.

edit: after You have done that, as conf.d is excluded, you will not find any host in icingaweb2. What you can do is to move the conf files from the conf.d folder that you want to use to /etc/icinga2/zones.d/master/. An even better way would be, to recreate the host in the Director. Keep on going, after a while you will start loving Icinga2, but the start can be a little tough from time to time :slight_smile:

1 Like