summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5abaf16)
raw | patch | inline | side by side (parent: 5abaf16)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 11 Feb 2008 10:18:58 +0000 (11:18 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 11 Feb 2008 10:18:58 +0000 (11:18 +0100) |
contrib/migrate-3-4.px | patch | blob | history |
diff --git a/contrib/migrate-3-4.px b/contrib/migrate-3-4.px
index 31abae4b38f52c41c62f918972768a4e30a884c4..e50c0cdffff0845161c88dc374b7ce957b671227 100755 (executable)
--- a/contrib/migrate-3-4.px
+++ b/contrib/migrate-3-4.px
our %TypeTranslate =
(
cpu => sub { $_ = shift; $_->{'plugin_instance'} = $_->{'type_instance'}; $_->{'type_instance'} = undef; $_; },
+ hddtemp => sub { $_ = shift; $_->{'plugin'} = 'hddtemp'; $_->{'type'} = 'temperature'; $_->{'type_instance'} = _special_disk_instance ($_->{'type_instance'}); $_; },
if_errors => sub { $_ = shift; $_->{'type_instance'} = $_->{'plugin_instance'}; $_->{'plugin_instance'} = undef; $_; },
if_packets => sub { $_ = shift; $_->{'type_instance'} = $_->{'plugin_instance'}; $_->{'plugin_instance'} = undef; $_; },
nfs2_procedures => sub { $_ = shift; @$_{qw(plugin plugin_instance type type_instance)} = ('nfs', 'v2' . $_->{'type_instance'}, 'nfs_procedure', undef); $_; },