Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Chalenko <gregory.chalenko@zabbix.com>2020-11-16 17:33:08 +0300
committerGregory Chalenko <gregory.chalenko@zabbix.com>2020-11-16 17:33:08 +0300
commit7c36c3970bdcadf0f586e56768d12bcc0b9e63c2 (patch)
tree68e0997c7228a3226c0a3240a6dd94675b04f0b3 /ui/app/controllers/CControllerHost.php
parentbea83f623daeff53ba06a591e549bdcd766d9931 (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.php7
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'],