Page 1 of 2
An error occurred
Posted: Tue Dec 20, 2011 2:58 pm
by mtkaschools
An error occurred while attempting to apply your configuration to Nagios Core.
This is the message I get when I try to modify any host or service. I've tried to reboot the nagios service, and reset permissions, but I keep getting this.
please advise.
Re: An error occurred
Posted: Tue Dec 20, 2011 3:23 pm
by lmiltchev
Run the following commands in terminal as root and post the "reconfig.txt":
Code: Select all
# cd /usr/local/nagiosxi/scripts
# ./reconfigure_nagios.sh &> reconfig.txt
Re: An error occurred
Posted: Wed Dec 21, 2011 10:31 am
by mtkaschools
The file is attached.
Re: An error occurred
Posted: Wed Dec 21, 2011 11:28 am
by mguthrie
I think you ran that using $> instead of &>, we're actually missing some of the output in that file, can you run that command again as :
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txt
Re: An error occurred
Posted: Wed Dec 21, 2011 11:34 am
by mtkaschools
the new file is attached.
Re: An error occurred
Posted: Wed Dec 21, 2011 1:17 pm
by agriffin
That file still doesn't have everything we need. It seems to be cut off after about 80 lines. Can you please send us the actual reconfig.txt file instead of a transcript of your terminal session?
Re: An error occurred
Posted: Wed Dec 21, 2011 2:04 pm
by mtkaschools
what is a recommendation to get it out of centos over to a windows box?
Re: An error occurred
Posted: Wed Dec 21, 2011 2:19 pm
by agriffin
There are lots of ways to do it. I usually use SFTP, which uses your SSH credentials (a good client is FileZilla). Another way might be to email it to yourself from the command line:
Re: An error occurred
Posted: Fri Dec 23, 2011 7:16 pm
by mtkaschools
okay, let's try this again. Attached is the file.
Re: An error occurred
Posted: Tue Dec 27, 2011 12:07 pm
by mguthrie
An error occurred while attempting to apply your configuration to Nagios Core.
Can you show us where you're getting this error message? The log for reconfigure_nagios.sh looks good, so the problem doesn't appear to be there.