mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fix mysql questions reads/writes module undef value
This commit is contained in:
parent
078081be4e
commit
235701edb9
@ -6677,7 +6677,6 @@ sub pandora_installation_monitoring($$) {
|
||||
my $reads = $select->{'Value'};
|
||||
|
||||
# Mysql Questions - Reads
|
||||
my $reads = 0 unless defined($reads);
|
||||
$module->{'name'} = "mysql_questions_reads";
|
||||
$module->{'description'} = 'MySQL: Questions - Reads (#): Number of read questions';
|
||||
$module->{'data'} = $reads;
|
||||
@ -6687,7 +6686,6 @@ sub pandora_installation_monitoring($$) {
|
||||
undef $module;
|
||||
|
||||
# Mysql Questions - Writes
|
||||
$writes = 0 unless defined($writes);
|
||||
$module->{'name'} = "mysql_questions_writes";
|
||||
$module->{'description'} = 'MySQL: Questions - Writes (#): Number of writed questions';
|
||||
$module->{'data'} = $writes;
|
||||
|
Loading…
x
Reference in New Issue
Block a user