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,
Attached is the profile.
Thanks.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Config error for Exchange server and Network Switch

Post by mguthrie »

It is actually stalling out on the loop that prepare configs to be written to file.

What do your have your memory limit set at in your /etc/php.ini file?

You should have configurations in your Core Config Manager from the recent wizards that you've run unsuccessfully, particularly the exchange server and switch wizard. I'd suggest finding them and deleting the services, then the hosts for these recent additions you've attempted. We'll see if we can get it back to working, then try and figure out what went wrong from there.
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 increased the memory to 350MB in php.ini file. I deleted the services and the hosts a few days ago but they showed up again.We recently removed one of our routers and gave our core switch the router's IP address and deleted the Switch's old IP ie the host and services from Nagios. But Nagios keeps showing the old IP address and its services. I have deleted them again.

I also tried configuring a DHCP server and Nagios is showing that server's DHCP service is out of sync. How do you want me to proceed now.

Thank you,
Deepika Manem
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 »

dmanem wrote: I deleted the services and the hosts a few days ago but they showed up again.We recently removed one of our routers and gave our core switch the router's IP address and deleted the Switch's old IP ie the host and services from Nagios. But Nagios keeps showing the old IP address and its services. I have deleted them again.
How are you deleting these? If you are deleting the cfg files on the server, they are just going to be rewritten the next time you click apply configuration from the web UI. They would need to be deleted through the CCM
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,

I deleted them according to a forum I read on Nagios Support. I deleted the services from CCM services then went to Host and deleted the host. They did not show up that day but now when I went back and searched for that host in CCM its back again.

Thank you,
Deepika Manem
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 you there aren't any files in the /usr/local/nagios/etc/import directory?

Also, there are several things you have seen on this same system that just seem downright weird, how far along in the setup are you? Would a re-install be an option?
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,

I deleted the hosts and services and applied the configuration. I am now able to run the monitoring wizard but now instead of the write configuration timing out, it says Configuration error and a red line shows up in the Configuration snapshot. Do you want me to send the error file? I would not mind re-installing.

Thank you,
Deepika Manem
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 »

This sounds better. Send the error file.
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,

Attached are a couple of error files I got when I tried to save configuration for the deleted and newly added nodes.

Thanks,
Deepika Manem
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 »

These likely aren't all of the errors you will get but we will need to resolve them one by one

The errors are saying that the hosts Kam01ex & Stack do not have max_check_attempts assigned

These can be set in Configure -> CCM -> Hosts -> Kam01ex & Stack -> Modify -> Check Settings Tab

To resolve multiple issues like this it is best to make the correction, then go to
Configure -> CCM -> Tools -> Write Config Files
Work through the top 3 buttons, look at the errors, fix them then repeat.

Once you have no errors (warnings are fine) then click the 4th button to Restart Nagios using the current data.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked