Page 1 of 2
Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 6:51 am
by johndoe
Can't seem to be able to delete any unconfigured objects either by clicking on the actions cross or selecting the tickbox and clicking the cross on the bottom of the page.
The page does reload and gives an "Objects deleted." however they are always there...
- New ones show up ok
- I use https
- I had a look at this
http://support.nagios.com/forum/viewtop ... red#p11991 and it still doesn't work either with $cfg['use_https']=true; or with $cfg['use_https']=false;
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 7:07 am
by scottwilkerson
We have seen that if you have a ton of items at one go in the file that they can get stuck. I believe this may be due to a php timeout.
You can delete the file
/usr/local/nagiosxi/var/corelog.newobjects
Code: Select all
rm -f /usr/local/nagiosxi/var/corelog.newobjects
And it will re-created with new items.
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 7:19 am
by johndoe
Thanks, that does clean them indeed however they show up again (obviously) as they're sent every 1 minute or so... 4 hosts and a total of 18 services and still can't delete them...
Are those too many? I believe i had many more in the past and never gave me problems.
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 7:31 am
by scottwilkerson
Can you show me the file permissions of that file
Code: Select all
ls -l /usr/local/nagiosxi/var/corelog.newobjects
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 7:37 am
by johndoe
Code: Select all
# ls -l /usr/local/nagiosxi/var/corelog.newobjects
-rwxrwxr-x 1 nagios users 1706 Sep 21 12:37 /usr/local/nagiosxi/var/corelog.newobjects
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 9:04 am
by scottwilkerson
By chance do you see nested results as outlined in this post?
http://support.nagios.com/forum/viewtop ... red#p11991
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 9:06 am
by mguthrie
We also seen this reported from multiple sources now, and we've got it posted to our bug tracker:
http://tracker.nagios.com/view.php?id=201
We'll see if we can recreate it and get it fixed for our next revision.
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 9:12 am
by johndoe
@scottwilkerson I did see that for a short time but clicking on the cross next to the service itself magically solved the table nesting problem.
Unrelated but input (we do use 99% nrdp checks so I deal with it alot):
One thing I still find annoying is the fact that if I just want to configure a specific unconfigured service and there are other ones standing there I have to delete the ones i don't want and then proceed with configuring the ones I want... a usability addition that would be very welcomed would be to be able to select also which services to configure whilst ignoring others
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 10:07 am
by scottwilkerson
You should be able to select just the items you want to configure and click the blue triangle at the bottom of the page to configure just those items
Re: Can't delete unconfigured objects
Posted: Fri Sep 21, 2012 10:14 am
by johndoe
Indeed but there is only one tick box per host, not one per service so if a host has others that one doesn't want to configure has to do what i mentioned above