diff options
author | Gregory Chalenko <gregory.chalenko@zabbix.com> | 2020-11-16 17:33:08 +0300 |
---|---|---|
committer | Gregory Chalenko <gregory.chalenko@zabbix.com> | 2020-11-16 17:33:08 +0300 |
commit | 7c36c3970bdcadf0f586e56768d12bcc0b9e63c2 (patch) | |
tree | 68e0997c7228a3226c0a3240a6dd94675b04f0b3 /ui/app/controllers/CControllerHost.php | |
parent | bea83f623daeff53ba06a591e549bdcd766d9931 (diff) |
A.F....... [ZBXNEXT-6311,ZBXNEXT-6314] moved interface availability properties from host to interface level
Diffstat (limited to 'ui/app/controllers/CControllerHost.php')
-rw-r--r-- | ui/app/controllers/CControllerHost.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/app/controllers/CControllerHost.php b/ui/app/controllers/CControllerHost.php index 8bcedcd39b5..3d6d0837b23 100644 --- a/ui/app/controllers/CControllerHost.php +++ b/ui/app/controllers/CControllerHost.php @@ -154,11 +154,8 @@ abstract class CControllerHost extends CController { // Get additional data to limited host amount. $hosts = API::Host()->get([ - 'output' => ['hostid', 'name', 'status', 'maintenance_status', 'maintenanceid', 'maintenance_type', - 'available', 'snmp_available', 'jmx_available', 'ipmi_available', 'error', 'ipmi_error', 'snmp_error', - 'jmx_error' - ], - 'selectInterfaces' => ['ip', 'dns', 'port', 'main', 'type', 'useip'], + 'output' => ['hostid', 'name', 'status', 'maintenance_status', 'maintenanceid', 'maintenance_type'], + 'selectInterfaces' => ['ip', 'dns', 'port', 'main', 'type', 'useip', 'available', 'error'], 'selectGraphs' => API_OUTPUT_COUNT, 'selectHttpTests' => API_OUTPUT_COUNT, 'selectTags' => ['tag', 'value'], |