Page 1 of 3

copy collector config failed

Posted: Mon Jun 18, 2018 6:50 pm
by sbrock
Hi Robbie

just restarted and now nconf is now showing
source_file FAILED Source file does not exist (/tmp/Default_collector/
when clicking deploy config

any suggestions on a fix

thanks

RE: copy collector config failed

Posted: Mon Jun 18, 2018 7:31 pm
by Robbie Ferguson
Hmm, when you say you just restarted, you mean, a simple reboot and this is happening? More info would help.

Thanks,
Robbie

RE: copy collector config failed

Posted: Mon Jun 18, 2018 7:38 pm
by sbrock
I ran the update and its now showing 1.4.1.1, then rebooted, generating looks fine, just when you click deploy failed on the copy collector config
in nagios it only show the nems server

RE: copy collector config failed

Posted: Tue Jun 19, 2018 6:41 am
by Robbie Ferguson
Any chance I can SSH in to your NEMS server? Looks like something went awry during the update. I'd like to inspect it and fix it for you.

Email me the credentials - [email protected] and I'll have a look.

Thanks,
Robbie

RE: copy collector config failed

Posted: Wed Jun 20, 2018 1:00 pm
by automationgeek
I upgraded from 1.3.1 to 1.4.1, then applied my existing nems backup and now anytime I generate a configuration using the NCONF, I'm getting the source_file FAILED Source file does not exist (/tmp/Default_collector/ )

Not sure if you had a resolution ?

RE: copy collector config failed

Posted: Thu Jun 21, 2018 8:53 am
by Robbie Ferguson
Hmm, thanks gang. I'll investigate this for you and see what it'll take to patch your servers. I imagine this is a wider-spread issue than just the two of you... which isn't good. It sounds like this happens after importing your backup, so maybe that's a hint.

Will keep you posted.

RE: copy collector config failed

Posted: Thu Jun 21, 2018 8:56 am
by Robbie Ferguson
automationgeek does your NEMS version show 1.4.1 or 1.4.1.1?

RE: copy collector config failed

Posted: Thu Jun 21, 2018 9:00 am
by Robbie Ferguson
sbrock I've patched your server so it now reflects the correct version (1.4.1.1 doesn't exist).

Looking at the config issue.

RE: copy collector config failed

Posted: Thu Jun 21, 2018 9:37 am
by Robbie Ferguson
I have found the bug, and it's a doozie. It may take me through the weekend to patch this one, but I'll have you all fixed up as quickly as possible.

Thanks for your patience and for letting me know about this problem!

RE: copy collector config failed

Posted: Thu Jun 21, 2018 10:52 am
by Robbie Ferguson
sbrock, as a test based on my findings, I made some changes to your NEMS server directly.

Please try generating a config, and if it works, I'll write a patch based on what I did and push it out to other NEMS servers.

Thanks!