existing object shows as unconfigured object in wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

existing object shows as unconfigured object in wizard

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: existing object shows as unconfigured object in wizard

Post by Box293 »

Can you show us some screenshots explaining the problem.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mp4783
Posts: 116
Joined: Wed May 14, 2014 11:11 am

Re: existing object shows as unconfigured object in wizard

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: existing object shows as unconfigured object in wizard

Post 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
Former Nagios employee
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

Re: existing object shows as unconfigured object in wizard

Post 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.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: existing object shows as unconfigured object in wizard

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

Re: existing object shows as unconfigured object in wizard

Post 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.
You do not have the required permissions to view the files attached to this post.
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

Re: existing object shows as unconfigured object in wizard

Post by nagiosadmin42 »

Servicess.png
screen shot #2
You do not have the required permissions to view the files attached to this post.
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

Re: existing object shows as unconfigured object in wizard

Post by nagiosadmin42 »

screen shot #3

Sorry for the extra posts, I'm not seeing how to embed multiple screen shots in one shot.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: existing object shows as unconfigured object in wizard

Post 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.
Locked