diff --git a/html/pages/device/alerts.inc.php b/html/pages/device/alerts.inc.php index 6d88cbd53..bbbd0c7c3 100644 --- a/html/pages/device/alerts.inc.php +++ b/html/pages/device/alerts.inc.php @@ -22,19 +22,19 @@ echo('
| '.$type.' | '.$subtype.' | '.$metric.' | '.htmlentities($entry['operator']).' | '.$entry['value'].' | '.$entry['severity'].' | '.$enabled.' | '); echo(''); @@ -69,10 +71,10 @@ foreach($glo_conditions as $type => $subtypes) /// Get which entities match this checker $entities = get_entity_list($type, $subtype, $device['device_id'], $entry['entity']); - if(!empty($entities)) + if (!empty($entities)) { echo(' | ||
| '); - foreach($entities as $entity) + foreach ($entities as $entity) { echo(''.generate_entity_link($type, $entity).""); } diff --git a/includes/rewrites.php b/includes/rewrites.php index a7a41cd88..3ed80e1b7 100644 --- a/includes/rewrites.php +++ b/includes/rewrites.php @@ -176,6 +176,7 @@ $rewrite_junos_hardware = array( 'jnxProductNameSRX5600' => 'SRX5600', 'jnxProductNameMX240' => 'MX240', 'jnxProductNameEX3200' => 'EX3200', + 'jnxProductNameEX3300' => 'EX3300', 'jnxProductNameEX4200' => 'EX4200', 'jnxProductNameEX8208' => 'EX8208', 'jnxProductNameEX8216' => 'EX8216', | |||||||||