Page 1 of 1

NCPA - Token

Posted: Mon Aug 13, 2018 5:03 pm
by jimt805
New to Nagios Core -

I just installed Nagios Core on Centos and logged into the admin page, watched several of the youtube video's on how to navigate through the tool, but as of now, I only have 1 host, the Nagios server, which is showing down. Ha.

I would like to start setting up host, I downloaded the windows NCPA app to start, but don't know the token. Where do I find this info?

Jim

Re: NCPA - Token

Posted: Tue Aug 14, 2018 10:54 am
by cdienger
The token is something that you set during the install and is then used to access the ncpa agent's web ui or used by the check_ncpa plugin to run checks. If you haven't already, take a look at https://www.nagios.org/ncpa/getting-started.php which covers some of the basics(including tokens) of a ncpa setup.

Re: NCPA - Token

Posted: Tue Aug 14, 2018 4:31 pm
by jimt805
I am really new to this, so bare with me. I just installed Nagios Core, via these instructions:

https://support.nagios.com/kb/article/n ... tml#CentOS

I did look at the link you provided me, which prompted me to write this post. I don't see a ncpa directory in \usr\local directory or a web UI at https://localhost:5693. That being said, if there is additional plug-ins etc, I need to install, where can I find the documentation for it?

Re: NCPA - Token

Posted: Wed Aug 15, 2018 4:28 pm
by scottwilkerson
Nagios Core doesn't include NCPA, NCPA is an agent you would install on a machine you want to monitor.

The documentation for NCPA can be found here
https://www.nagios.org/ncpa/getting-started.php

Re: NCPA - Token

Posted: Fri Aug 17, 2018 9:28 am
by jimt805
Thanks Scott - I want ahead and installed the client using a API Token that I made up and am now able to get to the web site. From the documentation, I understand the next step is to install the NRPE agent on nagios core, so I can view the clients from the nagios core interface...

I went ahead and ran the script documented in these instructions, but I don't see an nrpe service on my core system.

https://support.nagios.com/kb/article/n ... rpe-8.html

systemctl restart nrpe.service
failed to restart nrpe.service: Unit not found.

check nrpe -H 127.0.0.1
check_nrpe: command not found

Re: NCPA - Token

Posted: Fri Aug 17, 2018 9:32 am
by scottwilkerson
you don't need NRPE if you have NCPA installed

See the Start Monitoring section
https://www.nagios.org/ncpa/getting-sta ... monitoring

Then the full help documentation
https://www.nagios.org/ncpa/help.php