some doubts about configuration

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
clarosystemmgm
Posts: 7
Joined: Thu Apr 26, 2018 3:23 pm

some doubts about configuration

Post by clarosystemmgm »

hello experts!
I recently completed the installation of a Nagios Core, but I have some doubts that I could not solve while browsing the web:
1. Since at first I have only planned to use the tool to monitor PING, I would like to know how to disable the other services () for both the current nodes and those that I will create later.
2. I currently have only one monitored node (localhost), to add new nodes that I want to monitor via PING. Do I do it from the web interface or console?

At the moment these are the 2 biggest difficulties I am having. I already thank you for your collaboration.
Greetings
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: some doubts about configuration

Post by cdienger »

Core configuration is all done by editing the config files found in /usr/local/nagios/etc/. You can disable service checks simply by editing the files there and delete their configuration.

Have a look over https://assets.nagios.com/downloads/nag ... n/toc.html and https://assets.nagios.com/downloads/nag ... tions.html to get idea of how Nagios Core works and how to configure objects.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
clarosystemmgm
Posts: 7
Joined: Thu Apr 26, 2018 3:23 pm

Re: some doubts about configuration

Post by clarosystemmgm »

Thanks, I'll review it and anything I ask again. But I still do not understand how I add new hosts to the list of computers to monitor, I do not think that for every new device that I want to monitor, I have to modify a file, some interface should exist
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: some doubts about configuration

Post by mcapra »

clarosystemmgm wrote:I do not think that for every new device that I want to monitor, I have to modify a file, some interface should exist
Nagios Core configurations are all managed through files, though there are some options to drop an interface on top of that. Nagios XI offers such an interface for configuration management among other things.

There's also some open source options maintained by the community:
http://www.nconf.org/dokuwiki/doku.php
https://sourceforge.net/projects/nagiosql/
https://www.thruk.org/

I've seen the NagiosQL maintainer (@martinQL) around these forums more recently.

I prefer the official documentation for explanations regarding "How do I monitor this thing!?":
https://assets.nagios.com/downloads/nag ... linux.html
https://assets.nagios.com/downloads/nag ... ndows.html

Nagios Core understands your infrastructure via object definitions. Hosts are a type of object. So are services, contacts, and pretty much everything on this page:
https://assets.nagios.com/downloads/nag ... tions.html

You can use these objects pretty much however you like and there are good/bad and right/wrong ways depending on the specific use case, but a host definition typically represents some top-level piece of physical/virtual hardware. A VM, a network switch, a rack-mount server, a toaster, etc.

A service definition represents something a host is doing or something a host has. Maybe it's running apache, hosting active directory, etc. It probably has disks, a CPU, and memory. These are typically configured as service definitions under a parent host definition.
Former Nagios employee
https://www.mcapra.com/
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: some doubts about configuration

Post by cdienger »

Thanks for all the information, @mcapra!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked