not seeing files in cfgprep folder
i run the convert command got a cfg file but i don't see it in the ccm import page
used this article to recreate the folders
https://assets.nagios.com/downloads/nag ... p-Tool.pdf
the tool work great until few days i have imported over 500 hosts over time
but now i don't see the files ,i do see the rest of the files in the etc folder
checked permissions look ok
i have updated to latest version on xi
not seeing files in cfgprep folder
Re: not seeing files in cfgprep folder
How far did you get in the import process, and what were you moving from/going to in terms of Nagios? Was this a Core -> XI migration? Which config files aren't showing up that you expected to see?
Re: not seeing files in cfgprep folder
hi the move is from core 3 to new XI
i used the import tool got the file created in the cfgprep folder , the file look o.k if i look in vim
the issue that when i going to the xi gui to import the file it just not there
original file is in /orig just like in the nagios xi document
file name:
slack_nagios.cfg
the result file is in:
/usr/local/nagios/etc/cfgprep
the original file is in:
/usr/local/nagios/etc/cfgprep/orig
the result file is in the
the config is a host+service from the old nagios (i have done this many time but now i can't see the file to import)
don't get any error ,because i don't see the file
thanks
i used the import tool got the file created in the cfgprep folder , the file look o.k if i look in vim
the issue that when i going to the xi gui to import the file it just not there
original file is in /orig just like in the nagios xi document
file name:
slack_nagios.cfg
the result file is in:
/usr/local/nagios/etc/cfgprep
the original file is in:
/usr/local/nagios/etc/cfgprep/orig
the result file is in the
the config is a host+service from the old nagios (i have done this many time but now i can't see the file to import)
don't get any error ,because i don't see the file
thanks
Re: not seeing files in cfgprep folder
The issue is caused by the fact you have "nagios" in the file name... It's not allowed. You can use any other name - it doesn't matter what it is. You can even use "test".
Try:
Do you see the "slack_test.cfg" file under the "Configuration Import" page now?
Try:
Code: Select all
mv /usr/local/nagios/etc/cfgprep/slack_nagios.cfg /usr/local/nagios/etc/cfgprep/slack_test.cfgBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: not seeing files in cfgprep folder
i don't believe this but u are correct after changing the name i do see the file
i was not even close ,i figert should be permission issue or something
thanks u very much
no nagios in the name of the import folder fixed this issue for me
i was not even close ,i figert should be permission issue or something
thanks u very much
no nagios in the name of the import folder fixed this issue for me
Re: not seeing files in cfgprep folder
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.
Be sure to check out the Knowledgebase for helpful articles and solutions!