Page 1 of 1

Cannot import through NCPA wizard

Posted: Tue Mar 26, 2019 9:32 am
by jsalsbury
Good morning
I was trying this am to get hosts imported into the NCPA wizard and am running into and issue where it states. ''Configuration verification failed.

Configuration Error

An error occurred while attempting to apply your configuration to the monitoring engine. Contact your Nagios administrator if this problem persists.

I did find this thread from 2017 and have ran through some of the troubleshooting steps but noticed that the issue was ultimately resolved by unlocking a locked process. I know this is an issue we ran into when we upgraded to the most current Core.

https://support.nagios.com/forum/viewto ... 16&t=46275

can someone help me troubleshoot that particular step? I am still pretty new to nagios and unix.

check_ncpa.py, Version 1.1.3

NCPA wizard 2.04

thanks

Re: Cannot import through NCPA wizard

Posted: Tue Mar 26, 2019 10:03 am
by lmiltchev
Can you provide us with more details? When did you see the error for the first time? Did running the NCPA wizard on a "working" system caused the error? Do you see any errors at the moment, when you use the "Config File Management" tool?

CCM > Tools > Config File Management > Delete Files > Write Configs > Verify Files

Can you PM me (or anyone on the Nagios Support team) your profile?

Admin > System Config > System Profile > Download Profile

Re: Cannot import through NCPA wizard

Posted: Tue Mar 26, 2019 10:10 am
by jsalsbury
Can you provide us with more details? When did you see the error for the first time? Did running the NCPA wizard on a "working" system caused the error? Do you see any errors at the moment, when you use the "Config File Management" tool?

I saw it the first time today, after getting my NCPA agents talking properly i went to set up the active monitoring. As far as I know the 3 I have tested with using this wizard are all working properly. i.e. remoting to the systems and checking and making sure they are working locally.


CCM > Tools > Config File Management > Delete Files > Write Configs > Verify Files

I performed this with no issue. Should I restart the core as well?


Can you PM me (or anyone on the Nagios Support team) your profile?

Admin > System Config > System Profile > Download Profile

Working on that now.

Re: Cannot import through NCPA wizard

Posted: Tue Mar 26, 2019 10:53 am
by lmiltchev
I performed this with no issue. Should I restart the core as well?
Yes, restart core or apply configuration.
I saw it the first time today, after getting my NCPA agents talking properly i went to set up the active monitoring. As far as I know the 3 I have tested with using this wizard are all working properly. i.e. remoting to the systems and checking and making sure they are working locally.
You already have some NCPA checks configured on your system. Are you setting up new checks (via the NCPA wizard)? Are you seeing any new errors when you run the NCPA wizard (after applying configuration)?

Can you elaborate on " ...and making sure they are working locally"? What did you check exactly?

Note: I saw some config errors in logs but they seemed to be old. I didn't see anything else that "stands out" - it all looked normal in the profile.

Re: Cannot import through NCPA wizard

Posted: Tue Mar 26, 2019 11:05 am
by jsalsbury
We do not currently have NCPA machines set up, this is our first foray.

Yes we are trying to set them up via the wizard.

When i checked them on the local host I was using a browser to check on them using the token. i.e. https://localhost:5693

I did the delete, write and verify with a restart and it looks like I was able to add three machines now. I guess it was NOT a lock issue.

thanks !!!

Re: Cannot import through NCPA wizard

Posted: Tue Mar 26, 2019 12:27 pm
by lmiltchev
I did the delete, write and verify with a restart and it looks like I was able to add three machines now. I guess it was NOT a lock issue.
I am glad your issue has been resolved! Let us know if you have any further questions or it's ok to close this thread.

Re: Cannot import through NCPA wizard

Posted: Tue Mar 26, 2019 12:38 pm
by jsalsbury
I think its safe to close my thread

Re: Cannot import through NCPA wizard

Posted: Tue Mar 26, 2019 2:10 pm
by benjaminsmith
Hi @jsalsbury
I think its safe to close my thread
Closing. Thank you for using the Nagios Support Forum.