hi,

followin the instructions from
http://docs.opsview.org/doku.php?id=opsview3.3:migrating:nagios I copied the
objects.cache file from our nagios server to the opsview server.

It fails after importing one contact:

/$ /usr/local/nagios/installer/migrate_nagios /tmp/objects.cache
Installing time periods
- 24x7
- 24x7_sans_holidays
- none
- us-holidays
- workhours
Installing contacts (without groups)
- rostaradmin
Unrecognised method=notify-host-by-email at
/usr/local/nagios/installer/migrate_nagios line 326.
Opsview::Contact 2 destroyed without saving changes to email,
host_notification_options, service_notification_options, name,
notification_period at /usr/local/nagios/installer/migrate_nagios line 326

in the script it clearly asks him to die:

foreach my $method (@$host_notification_commands) {
            my $setting =
$notification_methods_to_opsview_mapping->{$method};
            die "Unrecognised method=$method" unless $setting;
            $dbo->$setting(1);
        }

but I suppose the notify-host-by-email command is understood by opsview,
isn't it?

the nagios host is running 3.0.4, by the way. Upgrading it to 3.2 is
possible, but I'd rather not invest a lot of time in it now that I've
decided to migrate it to opsview.

Any hints?



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

Reply via email to