Config error for Exchange server and Network Switch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post 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".
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post by scottwilkerson »

Sorry, you need a couple extra characters

Code: Select all

cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txt
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

Hi,

Here is the text file.

Thank you.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post by scottwilkerson »

Please send the output of running the following

Code: Select all

cd /usr/local/nagiosxi/scripts/
ls -l nagiosql*
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

Hi,

Here is the output for the command.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post 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 
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

Hi Scott,
Removing the file did not work. Attached is the output for the ls command.
Thanks.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Config error for Exchange server and Network Switch

Post by dmanem »

Hi,
Here is the output.
Thanks.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Config error for Exchange server and Network Switch

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked