Page 3 of 6

Re: Config error for Exchange server and Network Switch

Posted: Thu May 03, 2012 12:11 pm
by dmanem
Hi,

I ran the commands you gave and the output has been copied to a .txt file. When I opened the file it shows "-bash: reconfigure_nagios.sh: command not found".

Re: Config error for Exchange server and Network Switch

Posted: Thu May 03, 2012 12:54 pm
by scottwilkerson
Sorry, you need a couple extra characters

Code: Select all

cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txt

Re: Config error for Exchange server and Network Switch

Posted: Thu May 03, 2012 5:02 pm
by dmanem
Hi,

Here is the text file.

Thank you.

Re: Config error for Exchange server and Network Switch

Posted: Fri May 04, 2012 9:18 am
by scottwilkerson
Please send the output of running the following

Code: Select all

cd /usr/local/nagiosxi/scripts/
ls -l nagiosql*

Re: Config error for Exchange server and Network Switch

Posted: Fri May 04, 2012 10:38 am
by dmanem
Hi,

Here is the output for the command.

Re: Config error for Exchange server and Network Switch

Posted: Mon May 07, 2012 9:20 am
by scottwilkerson
Can we remove the file nagiosql.import.monitoring and run the reconfigure again.

Code: Select all

cd /usr/local/nagiosxi/scripts
rm -f nagiosql.import.monitoring
./reconfigure_nagios.sh &> reconfig.txt
if it doesn't work please post the the output of the following

Code: Select all

cd /usr/local/nagiosxi/scripts/
ls -l 

Re: Config error for Exchange server and Network Switch

Posted: Mon May 07, 2012 11:20 am
by dmanem
Hi Scott,
Removing the file did not work. Attached is the output for the ls command.
Thanks.

Re: Config error for Exchange server and Network Switch

Posted: Mon May 07, 2012 12:07 pm
by scottwilkerson
We must have some sort of circular reference or something in your configs, can I have you run the following
Configure -> CCM -> Tools -> Write Config Files

Do the top 2 items. Then from the command prompt of the XI server run

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg &>configtest.txt
Then send configtest.txt in your reply

Re: Config error for Exchange server and Network Switch

Posted: Mon May 07, 2012 2:17 pm
by dmanem
Hi,
Here is the output.
Thanks.

Re: Config error for Exchange server and Network Switch

Posted: Mon May 07, 2012 3:33 pm
by scottwilkerson
What kind of a load does this system run under, specifically IO? Everything seems right, and the error you are getting is just in the loop where it is writing the config files... It shouldn't take this long however if the system is under heavy IO load that could be the problem all by itself.