Page 1 of 4

existing object shows as unconfigured object in wizard

Posted: Fri Mar 06, 2015 6:23 pm
by nagiosadmin42
Hello,

I have 4 services that have this issue. Sometimes the the Wizard will work, sometimes it fails. In either case the object already exists.

How do I clear this so we are not prompted to accept checks from hosts / services that are already configured?

Much thanks,

-Jason

Re: existing object shows as unconfigured object in wizard

Posted: Fri Mar 06, 2015 8:09 pm
by Box293
Can you show us some screenshots explaining the problem.

Re: existing object shows as unconfigured object in wizard

Posted: Sun Mar 08, 2015 3:55 pm
by mp4783
The tech support guys can weigh in on this, but I think that if you empty the /usr/local/nagios/nagiosxi/var/corelog.newobjects file, the checks should disappear from the unconfigured objects display. I could be wrong, so make a copy if you try this.

I know the file is empty (maybe even nonexistent) after all checks are successfully accepted.

Re: existing object shows as unconfigured object in wizard

Posted: Mon Mar 09, 2015 9:44 am
by tmcdonald
This is correct. Clearing that file will remove all Unconfigured Objects entries:

Code: Select all

echo "" > /usr/local/nagios/nagiosxi/var/corelog.newobjects

Re: existing object shows as unconfigured object in wizard

Posted: Mon Mar 09, 2015 11:44 am
by nagiosadmin42
Thanks for the info.

It would seem for passive checks, this would be a temporary measure. The same thing can be achieved by clearing unconfigured objects.

The issue is not that the objects do not clear, its that they already have been accepted and are in the service/host list, and perpetually need to be accepted as the servers continually send the passive check data back to Nagios.

I have created a new corelog.newobjects file with the same permissions as the original just to be sure, and if the passive checks come back, then it would seem to be an issue somewhere else.

Thanks for the help.

Re: existing object shows as unconfigured object in wizard

Posted: Mon Mar 09, 2015 1:57 pm
by lmiltchev
I have created a new corelog.newobjects file with the same permissions as the original just to be sure, and if the passive checks come back, then it would seem to be an issue somewhere else.
Let us know if the issue resurfaces. If the hosts/services are already configured, you *shouldn't* be seeing the same hosts/services in the Unconfigured Objects.

Re: existing object shows as unconfigured object in wizard

Posted: Mon Mar 09, 2015 4:27 pm
by nagiosadmin42
Unconfig-OBJ.png
Indeed.

This happens about 3-4 times a week. I can accept or deny without issue. The checks are always available via CCM, but not Home -> Services.

I have attached some screen shots.

Re: existing object shows as unconfigured object in wizard

Posted: Mon Mar 09, 2015 4:28 pm
by nagiosadmin42
Servicess.png
screen shot #2

Re: existing object shows as unconfigured object in wizard

Posted: Mon Mar 09, 2015 4:30 pm
by nagiosadmin42
screen shot #3

Sorry for the extra posts, I'm not seeing how to embed multiple screen shots in one shot.

Re: existing object shows as unconfigured object in wizard

Posted: Mon Mar 09, 2015 4:47 pm
by ssax
Are you passing the host in the passive check? I'm not sure if it's cut off of the first screenshot or if it's missing.