Update README.md
This commit is contained in:
15
README.md
15
README.md
@@ -50,6 +50,21 @@ Download source code from master branch and put `zabbix` directory into `<your g
|
|||||||
* **Important!** Change `Access` to `direct`!
|
* **Important!** Change `Access` to `direct`!
|
||||||

|

|
||||||
|
|
||||||
|
#### Trends support
|
||||||
|
If you use patch for trends support ([ZBXNEXT-1193](https://support.zabbix.com/browse/ZBXNEXT-1193)), you don't need to do anything - trends support is enabled by default in `plugin.json` file:
|
||||||
|
|
||||||
|
```
|
||||||
|
"trends": true,
|
||||||
|
"trendsFrom": "7d",
|
||||||
|
```
|
||||||
|
|
||||||
|
`trendsFrom` option define period when switch to trends from history.
|
||||||
|
|
||||||
|
If you don't use trend patch, change `trends` to `false`:
|
||||||
|
```
|
||||||
|
"trends": false,
|
||||||
|
```
|
||||||
|
|
||||||
#### Note for Zabbix 2.2 or less
|
#### Note for Zabbix 2.2 or less
|
||||||
Zabbix API (api_jsonrpc.php) before zabbix 2.4 don't allow cross-domain requests (CORS). And you can get HTTP error 412 (Precondition Failed).
|
Zabbix API (api_jsonrpc.php) before zabbix 2.4 don't allow cross-domain requests (CORS). And you can get HTTP error 412 (Precondition Failed).
|
||||||
To fix it add this code to api_jsonrpc.php immediately after the copyright
|
To fix it add this code to api_jsonrpc.php immediately after the copyright
|
||||||
|
|||||||
Reference in New Issue
Block a user