Now that we know why we need to manage our IT
infrastructure, so let’s see how open source can help us on that. There are
plenty of open source available namely –
There are many more available but these 4 are the best you
can bet on.
Before we start using it lets see how they work –
Generally they have 3 components i.e.
- Core – This handles the monitoring data and does the following to name a few
o
Event handling like sending email alerts for any
threshold crossed.
o
Scheduling of the services checks.
o
Logic for checks.
- Plugins – They contains the logic to collect monitoring data from different sources/monitoring elements. We can also call them KMs. They collect the data and pass on the information to the core for further processing.
- Database – They are used to store data for the reporting or the historical purposes. Nagios as default don’t come with the DB support but using plugins it is very much possible.
Let’s see how to collect data from the monitoring elements,
there are two modes available (I will be taking Nagios as example) –
- Active checks – These checks are initiated and performed by the monitoring server itself. Not good if you want to scale your monitoring infrastructure.
- Passive checks – These checks are initiated and performed by the external application and submitted to monitoring server for further processing. They also help you in scaling your monitoring infrastructure. We will discuss these in more detail while covering distributed and redundant monitoring.
Now that we have learned the basics about this tool so let’s
start using them. All these tools run on Linux and are available on source code
form, so a good understanding of Linux is required. You can Google on how to
install source code in Linux. Also you can visit there sites and get the
knowhow.
Beware of the dependencies these tool needs to run.