From 1dd26cb7bcd28a42b0114033e225549a6aea8c72 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 11 Feb 2008 11:18:58 +0100 Subject: [PATCH] contrib/migrate-3-4.px: Handle `hddtemp' graphs correctly. --- contrib/migrate-3-4.px | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/migrate-3-4.px b/contrib/migrate-3-4.px index 31abae4b..e50c0cdf 100755 --- a/contrib/migrate-3-4.px +++ b/contrib/migrate-3-4.px @@ -95,6 +95,7 @@ our %Subdirs = 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); $_; }, -- 2.11.0