Hi,
My Opsview version: 3.0.0 on SLES 10 SP2, customed RPM I try to delete a service which is not used anymore and I get the following webexception: Opsview error: Caught exception in Opsview::Web::Controller::Admin::Servicecheck->delete "Can't delete 271: DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails (`opsview/servicecheckdependencies`, CONSTRAINT `servicecheckdependencies_dependencyid_fk` FOREIGN KEY (`dependencyid`) REFERENCES `servicechecks` (`id`)) [for Statement "DELETE FROM servicechecks WHERE id=? " with ParamValues: 0='271'] at /usr/local/nagios/perl/lib/DBIx/ContextualFetch.pm line 52. at /usr/local/opsview-web/script/../lib/Opsview/Web/ControllerBase/Admin.pm line 240" In my service check defintion I see that there is no host using the service check anymore. There aren't any exceptions of the service check defintion on some host. I also checked the host templates which were using the service check and it is removed from each. Finally, I checked the services wich could have a this service as a 'service check dependency' and I didn't find one. How can I manage to delete that service check? Obviously, the webexception is telling me that there is some kind of dependcy remaining. I didn't check every host template and service check for dependencies on this service, but only those I knew were in relationship to it. Could it be, that by mistake, I defined it somewhere I didn't want to and have to check all of them? Addtionally, when trying to click the 'SCs' URL in the host template list of a host template definition, I get the following webexception: Opsview error: Caught exception in Opsview::Web::Controller::Admin::Hosttemplate->edit "Can't call method "can" on an undefined value at /usr/local/opsview-web/script/../lib/Opsview/Web/ControllerBase/Admin.pm line 253." Is this a bug or am I missing a perl module in my installtion? Thanks for your help. Vincent
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/listinfo/opsview-users
