public function __construct() { parent::__construct(); // template - if templated item, value is taken from template item, cannot be changed on host // system - values should not be updated // host - value should be null for template items $this->fieldRules = array('type' => array('template' => 1), 'snmp_community' => array(), 'snmp_oid' => array('template' => 1), 'hostid' => array(), 'name' => array('template' => 1), 'description' => array(), 'key_' => array('template' => 1), 'delay' => array(), 'history' => array(), 'trends' => array(), 'lastvalue' => array('system' => 1), 'lastclock' => array('system' => 1), 'prevvalue' => array('system' => 1), 'status' => array(), 'value_type' => array('template' => 1), 'trapper_hosts' => array(), 'units' => array('template' => 1), 'multiplier' => array('template' => 1), 'delta' => array(), 'prevorgvalue' => array('system' => 1), 'snmpv3_securityname' => array(), 'snmpv3_securitylevel' => array(), 'snmpv3_authpassphrase' => array(), 'snmpv3_privpassphrase' => array(), 'formula' => array('template' => 1), 'error' => array('system' => 1), 'lastlogsize' => array('system' => 1), 'logtimefmt' => array(), 'templateid' => array('system' => 1), 'valuemapid' => array('template' => 1), 'delay_flex' => array(), 'params' => array(), 'ipmi_sensor' => array('template' => 1), 'data_type' => array('template' => 1), 'authtype' => array(), 'username' => array(), 'password' => array(), 'publickey' => array(), 'privatekey' => array(), 'mtime' => array('system' => 1), 'lastns' => array('system' => 1), 'flags' => array(), 'filter' => array(), 'interfaceid' => array('host' => 1), 'port' => array(), 'inventory_link' => array(), 'lifetime' => array()); }
public function __construct() { parent::__construct(); // template - if templated item, value is taken from template item, cannot be changed on host // system - values should not be updated // host - value should be null for template items $this->fieldRules = array('type' => array('template' => 1), 'snmp_community' => array(), 'snmp_oid' => array('template' => 1), 'hostid' => array(), 'name' => array('template' => 1), 'description' => array(), 'key_' => array('template' => 1), 'delay' => array(), 'history' => array(), 'trends' => array(), 'status' => array(), 'value_type' => array('template' => 1), 'trapper_hosts' => array(), 'units' => array('template' => 1), 'multiplier' => array('template' => 1), 'delta' => array(), 'snmpv3_contextname' => array(), 'snmpv3_securityname' => array(), 'snmpv3_securitylevel' => array(), 'snmpv3_authprotocol' => array(), 'snmpv3_authpassphrase' => array(), 'snmpv3_privprotocol' => array(), 'snmpv3_privpassphrase' => array(), 'formula' => array('template' => 1), 'error' => array('system' => 1), 'lastlogsize' => array('system' => 1), 'logtimefmt' => array(), 'templateid' => array('system' => 1), 'valuemapid' => array('template' => 1), 'delay_flex' => array(), 'params' => array(), 'ipmi_sensor' => array('template' => 1), 'data_type' => array('template' => 1), 'authtype' => array(), 'username' => array(), 'password' => array(), 'publickey' => array(), 'privatekey' => array(), 'mtime' => array('system' => 1), 'flags' => array(), 'filter' => array(), 'interfaceid' => array('host' => 1), 'port' => array(), 'inventory_link' => array(), 'lifetime' => array()); $this->errorMessages = array_merge($this->errorMessages, array(self::ERROR_NO_INTERFACE => _('Cannot find host interface on "%1$s" for item key "%2$s".'))); }
public function __construct() { parent::__construct(); $this->getOptions = zbx_array_merge($this->getOptions, array('screenitemids' => null, 'screenids' => null, 'editable' => null, 'sortfield' => '', 'sortorder' => '', 'preservekeys' => null, 'countOutput' => null)); }
public function __construct() { parent::__construct(); $this->getOptions = array_merge($this->getOptions, array('parentids' => null, 'childids' => null, 'countOutput' => null, 'selectParent' => null, 'selectDependencies' => null, 'selectParentDependencies' => null, 'selectTimes' => null, 'selectAlarms' => null, 'selectTrigger' => null, 'sortfield' => '', 'sortorder' => '')); }
public function __construct() { parent::__construct(); $this->sources = eventSource(); $this->objects = eventObject(); }