Tidy up alert output info for poller cli (#4578)

This commit is contained in:
Neil Lathwood
2016-09-25 16:01:58 +01:00
committed by Tony Murray
parent 0c0c553d74
commit 8b68429a06
2 changed files with 10 additions and 7 deletions

View File

@@ -134,8 +134,9 @@ foreach (dbFetch($query) as $device) {
$device = dbFetchRow("SELECT * FROM `devices` WHERE `device_id` = " .$device['device_id']);
$device['vrf_lite_cisco'] = dbFetchRows("SELECT * FROM `vrf_lite_cisco` WHERE `device_id` = ".$device['device_id']);
poll_device($device, $options);
echo "#### Start Alerts ####\n";
RunRules($device['device_id']);
echo "\r\n";
echo "#### End Alerts ####\r\n";
$polled_devices++;
}