don't get zma status

pull/3122/head
Isaac Connor 2017-11-27 11:57:42 -05:00
parent 81c46073a7
commit 106351a9f3
1 changed files with 1 additions and 2 deletions

View File

@ -114,7 +114,7 @@ for ( $i = 0; $i < count($displayMonitors); $i++ ) {
if ( $maxHeight < $scaleHeight ) $maxHeight = $scaleHeight;
}
$monitor['zmc'] = zmcStatus( $monitor );
$monitor['zma'] = zmaStatus( $monitor );
#$monitor['zma'] = zmaStatus( $monitor );
$zoneCount += $monitor['ZoneCount'];
$counts = array();
@ -125,7 +125,6 @@ for ( $i = 0; $i < count($displayMonitors); $i++ ) {
array( 'cnj' => 'and', 'attr' => 'MonitorId', 'op' => '=', 'val' => $monitor['Id'] )
);
parseFilter( $filter );
#$counts[] = 'count(if(1'.$filter['sql'].",1,NULL)) AS EventCount$j, SUM(if(1".$filter['sql'].",DiskSpace,NULL)) As DiskSpace$j";
$monitor['eventCounts'][$j]['filter'] = $filter;
$eventCounts[$j]['totalevents'] += $monitor[$j.'Events'];
$eventCounts[$j]['totaldiskspace'] += $monitor[$j.'EventDiskSpace'];