remove unused stats counts, and improve text on summary

This commit is contained in:
Oliver Gorwits
2017-06-28 16:32:06 +01:00
parent 3355b0610c
commit bd7f40ef88
4 changed files with 2 additions and 14 deletions

View File

@@ -79,17 +79,11 @@ sub expire {
ip_active_count =>
$schema->resultset('NodeIp')->search({-bool => 'active'},
{columns => 'ip', distinct => 1})->count_rs->as_query,
ip_count =>
$schema->resultset('NodeIp')->search(undef,
{columns => 'ip', distinct => 1})->count_rs->as_query,
node_table_count =>
$schema->resultset('Node')->count_rs->as_query,
node_active_count =>
$schema->resultset('Node')->search({-bool => 'active'},
{columns => 'mac', distinct => 1})->count_rs->as_query,
node_count =>
$schema->resultset('Node')->search(undef,
{columns => 'mac', distinct => 1})->count_rs->as_query,
netdisco_ver => pretty_version($App::Netdisco::VERSION, 3),
snmpinfo_ver => $snmpinfo_ver,