NCPA - Token

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
jimt805
Posts: 6
Joined: Fri Aug 10, 2018 1:54 pm

NCPA - Token

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NCPA - Token

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jimt805
Posts: 6
Joined: Fri Aug 10, 2018 1:54 pm

Re: NCPA - Token

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NCPA - Token

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
jimt805
Posts: 6
Joined: Fri Aug 10, 2018 1:54 pm

Re: NCPA - Token

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NCPA - Token

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked