Hi All,

 

I'm new here and just started to use OpsView (3.3.2). We are planning to
purchase the Enterprise version but I ran into a strange issue with the
community version.

 

We have a different SMS server so I wrote my own script and added this
to the SMS notification methods, the script works. It seems Opsview uses
all SMS notification methods specified but we do not have one of the
default methods, so I tried to delete them. I succeeded in deleting the
second, but cannot delete the first. When doing so, i get this error:

 

Opsview error: Caught exception in
Opsview::Web::Controller::Admin::NotificationMethods->delete "Can't
delete AQL-SMS-Server: DBD::mysql::st execute failed: Cannot delete or
update a parent row: a foreign key constraint fails
(`opsview/systempreferences`, CONSTRAINT
`systempreferences_notificationmethods_fk` FOREIGN KEY (`sms_system`)
REFERENCES `notificationmethods` (`id`)) [for Statement "DELETE

FROM   notificationmethods

WHERE  id=?

" with ParamValues: 0='1'] at
/usr/local/nagios/perl/lib/DBIx/ContextualFetch.pm line 52.

 at
/usr/local/opsview-web/script/../lib/Opsview/Web/ControllerBase/Admin.pm
line 277"

 

Anyone seen this before?

 

Regards, Harry

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to