Use Measurements for all statistic collection (#13333)

* Use Measurements for all statistic collection

* fix space

* Use colors
cleanup

* fix style

* manually fix license notice

* add return times and new line

* add return times and new line

* fix mistake in copyright template

* fix style
This commit is contained in:
Tony Murray
2021-10-06 17:09:54 -05:00
committed by GitHub
parent f28802bb2b
commit 8d5bc3fc41
21 changed files with 251 additions and 292 deletions

View File

@@ -136,7 +136,8 @@ $string = $argv[0] . " $doing " . date(\LibreNMS\Config::get('dateformat.compact
d_echo("$string\n");
if (! isset($options['q'])) {
printStats();
echo PHP_EOL;
app(\App\Polling\Measure\MeasurementManager::class)->printStats();
}
logfile($string);