adding my 1st remote linux server for monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
fretagi
Posts: 14
Joined: Thu Apr 26, 2012 1:47 am

adding my 1st remote linux server for monitoring

Post by fretagi »

Hi all

I have successfully installed the nagios core on my server, and now I want to start monitoring servers, but I am finding difficult to find documentation on how to add a linux server to monitor.
Please can you help me with URLs or procedures to do that, I am using nagios core 4.0.8
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: adding my 1st remote linux server for monitoring

Post by mcapra »

Here's a good "no fluff" tutorial:
https://www.howtoforge.com/tutorial/ubu ... to-monitor

Though if the machine to be monitored doesn't offer NRPE as a package, you might need to build/install it from scratch.

The official Ubuntu documentation offers a high level overview of what each Nagios configuration object is used for:
https://help.ubuntu.com/lts/serverguide/nagios.html

In short, how Nagios understands your infrastructure is entirely through the Nagios configuration objects that you define. These objects are defined in configuration files and loaded into Nagios Core via the main nagios.cfg file's include_dir and include_file directives. If you wanted to add a server (or switch, thermostat, coffee maker, whatever) you would typically create a host definition for that object. If that server is running an Apache and MySQL instance, you could define those under your host object as services. The bread-and-butter of Nagios configuration is hosts and services. A host can be defined without any services, but a service cannot be defined without a parent host.

Feel free to ask more questions. The support staff here are quite responsive and knowledgeable :)
Former Nagios employee
https://www.mcapra.com/
bolson

Re: adding my 1st remote linux server for monitoring

Post by bolson »

Hello fretagi,
Did mcapra's insights give you what you needed and may we close this topic?
Locked