Skip to content
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

Use of uninitialized value #81

Open
discostur opened this issue Dec 8, 2015 · 6 comments
Open

Use of uninitialized value #81

discostur opened this issue Dec 8, 2015 · 6 comments

Comments

@discostur
Copy link

Hi,

i'm getting the following error if i try tu run any of the mysql-plugins:

Use of uninitialized value in subroutine entry at /etc/munin/plugins/mysql_slow line 1105.
Can't use string ("") as a subroutine ref while "strict refs" in use at /etc/munin/plugins/mysql_slow line 1105.

Changing the corresponding line from

$section_map{$sec}->();

to

$section_map{$sec}->() if(defined($section_map{$sec}));

fixed it temporarily for me.

Greets
Kilian

@discostur
Copy link
Author

Found another error:

munin-run mysql_innodb_bpool
Use of uninitialized value in printf at /etc/munin/plugins/mysql_innodb_bpool line 885.
ib_bpool_size.value 
Use of uninitialized value in printf at /etc/munin/plugins/mysql_innodb_bpool line 885.
ib_bpool_dbpages.value 
Use of uninitialized value in printf at /etc/munin/plugins/mysql_innodb_bpool line 885.
ib_bpool_free.value 
Use of uninitialized value in printf at /etc/munin/plugins/mysql_innodb_bpool line 885.
ib_bpool_modpages.value 

@michael-stevens
Copy link

Hi,
I'm also seeing this problem. Wondering if it's related to the fact I'm running mariadb?

@szepeviktor
Copy link
Contributor

Maybe your SHOW ENGINE INNODB STATUS does not output this line:

m/\GBuffer pool size\s+(\d+)\n/gc && do {

@michael-stevens
Copy link

I do have that line, a number of times.

@michael-stevens
Copy link

I tried the hack mentioned above, and I now get:

Output from SHOW ENGINE INNDOB STATUS was truncated. This happens if the output of SEIS exceeds 64KB. Several of the InnoDB graphs might be affected by this. at /etc/munin/plugins/mysql_qcache line 1288.

@szepeviktor
Copy link
Contributor

szepeviktor commented Nov 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants