Removing bad configs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bobb_wu
Posts: 3
Joined: Wed Mar 14, 2012 8:56 am

Removing bad configs

Post by bobb_wu »

Hey there,

I finally just got my Nagios XI deployment running and have added some hosts. I am using NRPE on our servers and walked through a few of the config wizards. I did not disable the SSL field on some of them, and my first one I set up as a 'Linux Server.' Now I have a bunch of Error emails flowing my way, no ability to change the SSL encryption field, and none of these hosts will delete out of the Core Config Manager so I may re-add them.

What's my next step?
Bobb
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Removing bad configs

Post by scottwilkerson »

The easiest thing to do would be to run the wizards again with the same names, and just correct the SSL info.

This should overwrite the previous one.

If you want to delete them from the CCM, you need to delete the services first for all of them, and then the hosts
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Removing bad configs

Post by mguthrie »

I would also suggest disabling notifications system-wide if you're still in the setup phase :)
bobb_wu
Posts: 3
Joined: Wed Mar 14, 2012 8:56 am

Re: Removing bad configs

Post by bobb_wu »

Ok, re-doing the wizard worked for me. I have another quick question-

The top right has a System Problem with 3 checks and one exclamation point. It takes me to an admin page with XI System Component Status, with Event Data as the error. Where would I look to figure out how to fix this?

BTW- this is a CentOS image running 2009R1.4B on vSphere.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Removing bad configs

Post by mguthrie »

Check your Admin page for the subsystem components dashlet, see if there are any red marks showing up. It's possible you could have some corrupted data in one of your mysql tables. If you're on R2009 you'll probably want to run the DB repair manually.

Code: Select all

service mysqld stop
myisamchk -r -f /var/lib/mysql/nagios/nagios_*.MYI
service mysqld start
Locked