existing object shows as unconfigured object in wizard
-
nagiosadmin42
- Posts: 96
- Joined: Sat Feb 11, 2012 2:16 pm
existing object shows as unconfigured object in wizard
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
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
- 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
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.
Re: existing object shows as unconfigured object in wizard
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.
I know the file is empty (maybe even nonexistent) after all checks are successfully accepted.
Re: existing object shows as unconfigured object in wizard
This is correct. Clearing that file will remove all Unconfigured Objects entries:
Code: Select all
echo "" > /usr/local/nagios/nagiosxi/var/corelog.newobjectsFormer Nagios employee
-
nagiosadmin42
- Posts: 96
- Joined: Sat Feb 11, 2012 2:16 pm
Re: existing object shows as unconfigured object in wizard
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.
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
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.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.
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
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.
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
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
screen shot #3
Sorry for the extra posts, I'm not seeing how to embed multiple screen shots in one shot.
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.
Re: existing object shows as unconfigured object in wizard
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.