How to add host in Nagios Core?

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

How to add host in Nagios Core?

Postby simonleung » Tue Feb 12, 2019 4:06 am

I have installed Nagios Core in Ubuntu 16.04. After, I want to add another ubuntu 16.04 computer in Nagios Core for monitoring. How can I do so? Could anyone give me steps?
simonleung
 
Posts: 1
Joined: Tue Feb 12, 2019 4:02 am

Re: How to add host in Nagios Core?

Postby mcapra » Tue Feb 12, 2019 9:09 am

There are a multitude of options available for monitoring Linux machines.

If you're not picky, I would suggest following the "Getting Started" guide for NCPA, which is a monitoring agent that Nagios Core can talk to:
https://www.nagios.org/ncpa/getting-started.php

That documentation has steps for getting the machine you want to monitor ready, and loading it into Nagios Core.

Please do let us know if something in that documentation is unclear, or if you have additional questions :)
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3513
Joined: Thu May 05, 2016 3:54 pm

Re: How to add host in Nagios Core?

Postby npolovenko » Tue Feb 12, 2019 1:33 pm

Thanks, @mcapra! @simonleung, Please follow the NCPA tutorial and let us know if you have any questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
npolovenko
Support Tech
 
Posts: 2849
Joined: Mon May 15, 2017 5:00 pm

Re: How to add host in Nagios Core?

Postby xinxolHH » Mon Feb 18, 2019 5:03 am

Hello,

I have similar issues, and I do not understand the manual description. I have installed Nagios 4 Core on a CentOS machine, and I did some monitoring of the Windows Clients with the installation of NSClient++. Now I want to try the installation of NCPA, (I removed the NSClient++) and perform passive checks on the Windows Clients. I do not understand, what token, or what is asking when installing NCPA on the windows clients.
Any help ?


Regards
x.
xinxolHH
 
Posts: 2
Joined: Mon Feb 18, 2019 4:47 am

Re: How to add host in Nagios Core?

Postby ssax » Mon Feb 18, 2019 5:27 pm

That token it's asking during installation is the one you define when installing the NPCA agent.

Token - The token used for API calls (from Nagios XI config wizard, check_ncpa.py, curl, etc) and logging into the GUI.


Please see here:

https://www.nagios.org/ncpa/getting-started.php
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ssax
Dreams In Code
 
Posts: 3672
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to add host in Nagios Core?

Postby xinxolHH » Tue Feb 19, 2019 3:13 am

Good morning,

@ssax, thanks for the reply. I do not have NagiosXI, but Nagios Core, and in my understanding the token needed when installing the ncpa module, come from the installation of the nrpd "module" defined in the config.inc.php file (in /usr/local/nrdp/server usually). That was my question, where I find the token defintion that ncpa is aking when installing ncpa on the windows client.

https://github.com/NagiosEnterprises/nrdp/

Now the problem is a bit different with nrdp, and the nagcrm group or directory permissions.
When and I why need the nagcmd group, nagios and apache are in the same group, and beloging to nagios group.

Best Regards
X.
xinxolHH
 
Posts: 2
Joined: Mon Feb 18, 2019 4:47 am

Re: How to add host in Nagios Core?

Postby scottwilkerson » Tue Feb 19, 2019 4:29 pm

You can skip the NRDP section in the Windows installer unless you are using passive checks from NCPA
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 19 guests