Page 1 of 6
Configuring Nagios Cross Platform Agent (NCPA)
Posted: Mon Jan 12, 2015 3:48 pm
by clombardo
I am new to Nagios.
We have Nagios Core setup on one of our servers, my boss did the installation. I am trying to setup Nagios Cross Platform Agent (NCPA) on my desktop. There is a parameter "Config Name" that I do not know what this value is. How/Where do I get this value on Nagios Core is installed on our server? I attached the screen shot of needed parameters to install NCPA. Config Name is the last parameter in the screen shot.
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Mon Jan 12, 2015 4:27 pm
by slansing
If you are using NRDS on your Core server, that is where you would place the name of the saved configuration you wish to use for this server. If you do not plan to use NRDS then you can leave that blank and change it later in the flat configuration file.
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Mon Jan 12, 2015 4:43 pm
by clombardo
I'll have to check with my boss if he installed NRDS. Is there a way to check via linux command line? Now if we have NRDS installed there would be a Config Name there like you said. Where would I find the Config Name?
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Mon Jan 12, 2015 6:03 pm
by slansing
Here you are, this should contain all of that information:
http://assets.nagios.com/downloads/nrdp ... erview.pdf
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Tue Jan 13, 2015 11:51 am
by clombardo
Thank you for this. Now I am more confused as I am following this installation:
http://assets.nagios.com/downloads/ncpa ... ation.html
There are so many different Nagios components that I am getting lost. The installation manual that I am following above is what I am trying to do. So now I am not sure what to do.
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Tue Jan 13, 2015 4:06 pm
by clombardo
Some help would be greatly appreciated as I am stuck on this problem.
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Tue Jan 13, 2015 5:22 pm
by Box293
What is it exactly that you are trying to achieve?
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Wed Jan 14, 2015 8:42 am
by clombardo
My question is at the beginning of this post:
I am new to Nagios.
We have Nagios Core setup on one of our servers, my boss did the installation. I am trying to setup Nagios Cross Platform Agent (NCPA) on my desktop. There is a parameter "Config Name" that I do not know what this value is. How/Where do I get this value on Nagios Core is installed on our server? I attached the screen shot of needed parameters to install NCPA. Config Name is the last parameter in the screen shot.
Do we need to install some other pluggin where Nagios Core is installed? Please explain. I am still trying to understand what to do.
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Wed Jan 14, 2015 4:21 pm
by sreinhardt
As slansing mentioned, config name and everything except token is optional and only used for nrdp\nrds. If you are planning to use just active checks with check_ncpa, you do not need the passive section at all, and it may be left entirely blank without worry.
Re: Configuring Nagios Cross Platform Agent (NCPA)
Posted: Wed Jan 14, 2015 7:00 pm
by Box293
I added a GitHib request to make the settings screen include some more information.
https://github.com/NagiosEnterprises/ncpa/issues/133
To answer your other questions as this may help others in the future.
clombardo wrote:I'll have to check with my boss if he installed NRDS. Is there a way to check via linux command line?
IF NRDP (not NRDS) was installed, a config file for it would exists here:
Code: Select all
/usr/local/nrdp/server/config.inc.php
clombardo wrote:Now if we have NRDS installed there would be a Config Name there like you said. Where would I find the Config Name?
The Config Name and Host name are not stored on the NRDP receiving server.
These are the details of the sending machine. This is how Nagios associates these check results with services.
Here is examples from the nagios.log when these services do not exist.
[1421279817] Error: Got check result for service 'cpu usage' on host 'My Config Name win7-01'. Unable to find service
[1421279817] Error: Got check result for service 'memory usage' on host 'My Config Name win7-01'. Unable to find service
[1421279817] Error: Got check result for service 'swap usage' on host 'My Config Name win7-01'. Unable to find service