I installed NCPA on my laptop and it instantly starts sending passive results into the Nagios server. I create a config_name in NRDS Config Manager matching the config_name in the ncpa.cfg file. My laptop never picks that up, it is only sending the default 3 passive checks still. What am I missing to allow it to update its config?
NCPA not updating config
NCPA not updating config
Ok, I lied, I admit it! I have more NCPA questions 
I installed NCPA on my laptop and it instantly starts sending passive results into the Nagios server. I create a config_name in NRDS Config Manager matching the config_name in the ncpa.cfg file. My laptop never picks that up, it is only sending the default 3 passive checks still. What am I missing to allow it to update its config?
I installed NCPA on my laptop and it instantly starts sending passive results into the Nagios server. I create a config_name in NRDS Config Manager matching the config_name in the ncpa.cfg file. My laptop never picks that up, it is only sending the default 3 passive checks still. What am I missing to allow it to update its config?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: NCPA not updating config
In the GUI the NRDS section looks like this:
Even though the cfg file has this:
Code: Select all
[nrds]
url =http://xxxxxxxxxxx.com/nrdp/
CONFIG_VERSION =0
token =xxxxxxx
CONFIG_NAME =test_clark
CONFIG_OS = None
PLUGIN_DIR=plugins/
UPDATE_CONFIG=1
UPDATE_PLUGINS=1You do not have the required permissions to view the files attached to this post.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: NCPA not updating config
I am going to test this and get back to you on Monday. Can you check one thing though? What do you have set up in the ncpa.cfg on the "handlers = " line (under [passive])? Do you have:
or
in there?
Code: Select all
handlers = nrdpCode: Select all
handlers = nrdsBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA not updating config
NRDP, which is the default apparently.
I changed it and restarted the service, no change in what it did, and I then changed it back.
I changed it and restarted the service, no change in what it did, and I then changed it back.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: NCPA not updating config
I will have to double check the "handlers = " option with Nick. As far as I remember, he was saying that you need to set "handlers = nrds" if you want to use NCPA with NRDS, however, I got some mixed results during my testing, so I am not 100% sure.
Anyway, my config updated just fine in the "config.ini" but not in the "ncpa.cfg"... My config is named win7 (Under the NRDS Config Manager in XI). I didn't have the correct config name in the "ncpa.cfg", so I had to set it up and restart the "NCPA Passive" service.
Then I modified the config under the NRDS Config Manager in XI. The saved version was 0.3.
I the "ncpa.cfg", I still have:
while, in the "config.ini", it is updated:
Anyway, my config updated just fine in the "config.ini" but not in the "ncpa.cfg"... My config is named win7 (Under the NRDS Config Manager in XI). I didn't have the correct config name in the "ncpa.cfg", so I had to set it up and restart the "NCPA Passive" service.
Code: Select all
[nrds]
url =http://192.168.x.x/nrdp/
CONFIG_VERSION =0
token =xxx
CONFIG_NAME =win7
CONFIG_OS = None
PLUGIN_DIR=plugins/
UPDATE_CONFIG=1
UPDATE_PLUGINS=1I the "ncpa.cfg", I still have:
Code: Select all
CONFIG_VERSION =0Code: Select all
[settings]
CONFIG_VERSION=0.3
CONFIG_OS=Windows (64-bit)
CONFIG_NAME=win7
...You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA not updating config
Config.ini only exists in NRDP_Win if you install that though, right? I'm tryign to get this all done with just NCPA if possible. Am I trying something that isn't possible in NCPA?
I want passive checks that can be managed by the Nagios server and not use scheduled tasks.
I want passive checks that can be managed by the Nagios server and not use scheduled tasks.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: NCPA not updating config
Config.ini only exists in NRDS_Win if you install NRDS on the Windows box. I don't believe NCPA is going to install/configure NRDS for you. When you are installing NCPA, you are asked for the NRDS config (assuming that you are already using NRDS)...Config.ini only exists in NRDP_Win if you install that though, right?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA not updating config
Ludmil,
Ok, I'm man enough to admit when I am confused
Is there a web page that details the functionality of NCPA?
For active checks I understand, and need no explanation, it is the passive checks that I need clarification for. One of the downsides of NRDS_Win(In my environment) is that it uses scheduled tasks. If I install and use NCPA and want to use passive checks(including the API checks) am I able to control those like I do for NRDS? So many other questions in this regard, just confused on the use/functionality of NCPA. Do I have to use both NRDS_Win and NCPA and if so, does NCPA then update the NRDS_Win config.ini?
Ok, I'm man enough to admit when I am confused
Is there a web page that details the functionality of NCPA?
For active checks I understand, and need no explanation, it is the passive checks that I need clarification for. One of the downsides of NRDS_Win(In my environment) is that it uses scheduled tasks. If I install and use NCPA and want to use passive checks(including the API checks) am I able to control those like I do for NRDS? So many other questions in this regard, just confused on the use/functionality of NCPA. Do I have to use both NRDS_Win and NCPA and if so, does NCPA then update the NRDS_Win config.ini?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: NCPA not updating config
I believe NRDS needs to be installed, and unless it is, you are not going to be able to modify configs "centrally" (under the "NRDS Config Manager" in XI). Nick is off today, but he should be in tomorrow. I will check this out with him, as I am not finding any references to the NRDS integration with NCPA in the documentation:
http://assets.nagios.com/downloads/ncpa ... index.html
I always tested NCPA with NRDS already installed...
http://assets.nagios.com/downloads/ncpa ... index.html
I always tested NCPA with NRDS already installed...
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA not updating config
Thanks, and make sure and ask, if NRDS needs installed as well, does the schedule task still get used or does NCPA actually run it.
I don't feel bad for being confused when my questions are also confusing an employee
I don't feel bad for being confused when my questions are also confusing an employee
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github