How to add host in Nagios Core?
-
- Posts: 1
- Joined: Tue Feb 12, 2019 4:02 am
How to add host in Nagios Core?
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?
Re: How to add host in Nagios Core?
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
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
https://www.mcapra.com/
https://www.mcapra.com/
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: How to add host in Nagios Core?
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.
Re: How to add host in Nagios Core?
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.
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.
Re: How to add host in Nagios Core?
That token it's asking during installation is the one you define when installing the NPCA agent.
https://www.nagios.org/ncpa/getting-started.php
Please see here:Token - The token used for API calls (from Nagios XI config wizard, check_ncpa.py, curl, etc) and logging into the GUI.
https://www.nagios.org/ncpa/getting-started.php
Re: How to add host in Nagios Core?
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.
@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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to add host in Nagios Core?
You can skip the NRDP section in the Windows installer unless you are using passive checks from NCPA
Re: How to add host in Nagios Core?
The NCPA token is only for the NCPA agent on the remote machine, you pass the token in the check_ncpa command and that does the authorization, since you passed the token to the agent, it sees you as authorized. Does that makes sense?