Zabbix client for WordPress by Sven Wappler
Install composer by Elliot Urizar
This plugin provides a REST API endpoint for the Zabbix monitoring system.
-
Install the wp-zabbix plugin.
-
Define a key in your wp-config.php file. For example:
define('WPZABBIX_KEY', 'eoij4r93440frexampler0rugt0rug0tru');Please use a long key for best security.
-
Import the zabbix template from wp-zabbix/template/wordpress.xml
-
Create a host in zabbix
-
Add a macro to this host called:
{$WORDPRESS_CLIENT_KEY}with the value of your generated key
- Add to Composer.json
"require": {
...,
...,
"uriot/wp-zabbix": "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Uriot/wp-zabbix.git"
}
],
and in the path of your project
composer update