Page 1 of 1

Can't delete timeperiods - No relationships stated

Posted: Wed Apr 08, 2015 8:23 pm
by tguadagnin
Hi,

I'm having the following problem when trying to delete a time period.

Code: Select all

Database Relationships for timeperiod : 15-16_thursday
Items labeled as: 'Dependent relationships' will prohibit deletion
Object ID: 53 of table tbl_timeperiod:
There are no stated relationships in the message though.

I've tried a different browsers, deleting cache, to no avail..

Re: Can't delete timeperiods - No relationships stated

Posted: Wed Apr 08, 2015 11:28 pm
by Box293
Try this to identify the objects which are using the timeperiod:

Code: Select all

grep -R '15-16_thursday' /usr/local/nagios/etc/
The results should point you to the line numbers in the files that use this object, which will help you find it in CCM.