|
|
@ -902,10 +902,10 @@ DELETED - Marks a server as no longer existing |
|
|
|
my $say_ram = $server_configured_ram eq $server_ram_in_use ? "scan_server_alert_0014" : "scan_server_alert_0015"; |
|
|
|
my $say_ram = $server_configured_ram eq $server_ram_in_use ? "scan_server_alert_0014" : "scan_server_alert_0015"; |
|
|
|
my $variables = { |
|
|
|
my $variables = { |
|
|
|
server => $server_name, |
|
|
|
server => $server_name, |
|
|
|
old_configured_ram_short => $anvil->Convert->bytes_to_human_readable({'bytes' => $server_configured_ram}), |
|
|
|
old_configured_ram_short => $anvil->Convert->bytes_to_human_readable({'bytes' => $old_server_configured_ram}), |
|
|
|
old_configured_ram_bytes => $anvil->Convert->add_commas({number => $server_configured_ram}), |
|
|
|
old_configured_ram_bytes => $anvil->Convert->add_commas({number => $old_server_configured_ram}), |
|
|
|
new_configured_ram_short => $anvil->Convert->bytes_to_human_readable({'bytes' => $old_server_configured_ram}), |
|
|
|
new_configured_ram_short => $anvil->Convert->bytes_to_human_readable({'bytes' => $server_configured_ram}), |
|
|
|
new_configured_ram_bytes => $anvil->Convert->add_commas({number => $old_server_configured_ram}), |
|
|
|
new_configured_ram_bytes => $anvil->Convert->add_commas({number => $server_configured_ram}), |
|
|
|
}; |
|
|
|
}; |
|
|
|
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, key => $say_ram, variables => $variables}); |
|
|
|
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, key => $say_ram, variables => $variables}); |
|
|
|
$anvil->Alert->register({alert_level => "notice", message => $say_ram, variables => $variables, set_by => $THIS_FILE}); |
|
|
|
$anvil->Alert->register({alert_level => "notice", message => $say_ram, variables => $variables, set_by => $THIS_FILE}); |
|
|
|