From 4aa407290ba7d545f02ef7bd99e80be26f228956 Mon Sep 17 00:00:00 2001 From: GabrieleV Date: Thu, 18 Apr 2019 19:28:12 +0200 Subject: [PATCH] Update README.md --- README.md | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8a9bde1..21027ef 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,26 @@ Tested with Zabbix 4.0 (http://www.zabbix.com/) and Backuppc v3 (http://backuppc ## Install -1. Add a line from 'sudo' file to your sudo config +Add a line from 'sudo' file to your sudo config + cp etc/sudoers.d/zabbix-backuppc /etc/sudoers.d/zabbix-backuppc -2. copy 'zabbix-backuppc.pl' and 'zabbix-discover-backuppc.pl' to '/usr/local/bin' + +Copy 'zabbix-backuppc.pl' and 'zabbix-discover-backuppc.pl' to '/usr/local/bin' + cp usr/local/bin/*.pl /usr/local/bin -3. make it executable with backuppc user + +Make it executable with backuppc user + chmod +x /usr/local/bin/*.pl -4. You need to have 'EnableRemoteCommands=1' in Zabbix agent config -4. Import 'backuppc_zbx_export_templates.xml' into Zabbix and configure it + +You need to have in Zabbix agent config + + 'EnableRemoteCommands=1' + +Import template into Zabbix and configure it: + + zabbix-templates/zabbix-backuppc-template.xml + ## The template contains @@ -74,7 +86,8 @@ Information about the BackupPc itself. ### Backuppc - backups Discovery from individual backups -- system.run["sudo -u backuppc /usr/local/bin/zabbix-discover-backuppc.pl"] + + system.run["sudo -u backuppc /usr/local/bin/zabbix-discover-backuppc.pl"] #### Items