-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with XFS plugin #1223
Comments
The plugin code around these lines look like this: my @array = split /\s+/, $_;
chomp @array;
my $string_name = shift @array;
my %hash;
my $keys = $runtime_stats{$string_name};
@hash{@$keys} = @array; The last line seems to cause the problem. But I fail to see any potential source of an issue :( Maybe you could share the content of |
Hi, @mozzee how did you install that xfs plugin from on Centos8 ? I don't see a -contrib package or something similar. @sumpfralle I'm trying to reproduce the issue on a Centos8 Stream instance. Here is the content of
|
@daftaupe it was an upgrade from CentOS 7 to 8 Stream and I was able to work around the plugin by adding missing entries/lines from /proc/fs/xfs/stat. During the troubleshooting, I found that CentOS 8 had more data rows in the stat file than its previous version hence the plugin failed to process it with the above issue. After adding missing entries, it's working perfectly fine. |
@Offerkohen if you have the fixed plugin, maybe you could open a PR so that others could benefit from your fix ? |
On CentOS 8 & munin-node-2.0.66-1, XFS plugin is throwing following error
]# munin-run xfs
]# Can't use an undefined value as an ARRAY reference at ./xfs line 89, line 21.
The text was updated successfully, but these errors were encountered: