NCPA not updating config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA not updating config

Post by lmiltchev »

:D I will wait for Nick, the genius, to "enlighten" me on NRDS integration... then we will be updating the documentation, I guess...
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NCPA not updating config

Post by BanditBBS »

lmiltchev wrote::D I will wait for Nick, the genius, to "enlighten" me on NRDS integration... then we will be updating the documentation, I guess...
Any word from the "genius" yet? :)
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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA not updating config

Post by lmiltchev »

Any word from the "genius" yet?
Yep, he said he will be working on it today. :)

I was right about the fact that you needed to set "handlers = nrds". What I didn't know is that you *should* be able to just add it, so that you would have:

Code: Select all

handlers = nrdp
handlers = nrds
It doesn't seem this is working at the moment. I am not sure what changed. One error I see in the log is this one:

Code: Select all

NoOptionError: No option 'TOKEN' in section: 'nrds'
It seems like "token" is not the same as "TOKEN"... :) But even if this is modified, it still fails.

Code: Select all

ERROR:root:ConfigParser instance has no attribute 'file_path'
Traceback (most recent call last):
  File "C:\Users\nscott\Documents\Git\ncpa\agent\ncpa_windows.py", line 129, in run_all_handlers
  File "C:\Program Files (x86)\Nagios\NCPA\passive\nrds.py", line 23, in run
    self.update_config()
  File "C:\Program Files (x86)\Nagios\NCPA\passive\nrds.py", line 73, in update_config
    with open(self.config.file_path , 'w') as config:
AttributeError: ConfigParser instance has no attribute 'file_path'
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NCPA not updating config

Post by BanditBBS »

Ok, I have to make some decisions here on how I am going to proceed and need to tell people how things currently function(not how they will)....so with that being said, if I want to use passive checks and control them centrally I have to use NRDS_Win at this moment in time, correct? If I don't care about central administration I can then use NCPA.

Thanks!

edit: OMG my head hurts, I'm really trying to wrap my head around this and think of the best way to monitor my Windows environment. I'm going to open a new thread with a very specific question that isn't directly related to the topic of this thread
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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NCPA not updating config

Post by scottwilkerson »

BanditBBS wrote:Ok, I have to make some decisions here on how I am going to proceed and need to tell people how things currently function(not how they will)....so with that being said, if I want to use passive checks and control them centrally I have to use NRDS_Win at this moment in time, correct? If I don't care about central administration I can then use NCPA.

Thanks!
That's correct. Sorry for the confusion.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked