diff --git a/barman/Template/zbx_export_templates.xml b/barman/Template/zbx_export_templates.xml deleted file mode 100644 index f30bf5e..0000000 --- a/barman/Template/zbx_export_templates.xml +++ /dev/null @@ -1,133 +0,0 @@ - - - 3.2 - 2017-02-17T12:48:26Z - - - Templates_LNE - - - - - - diff --git a/barman/scripts/barman_discovery.py b/barman/scripts/barman_discovery.py deleted file mode 100644 index 537eea7..0000000 --- a/barman/scripts/barman_discovery.py +++ /dev/null @@ -1,20 +0,0 @@ -{\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf470 -{\fonttbl\f0\fswiss\fcharset0 Helvetica;} -{\colortbl;\red255\green255\blue255;} -\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 -\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 - -\f0\fs24 \cf0 #!/usr/bin/python\ -\ -import subprocess\ -import json\ -\ -barman_list = subprocess.Popen(['barman','list-server'],stdout=subprocess.PIPE)\ -\ -value = \{'data':[] \}\ -\ -for line in barman_list.stdout:\ - server = line.split(' ')[0]\ - value['data'].append(\{'\{#SERVER\}':server\})\ -print json.dumps(value)\ -} \ No newline at end of file diff --git a/barman/zabbix_agent.d/Userparameter_barman.rtf b/barman/zabbix_agent.d/Userparameter_barman.rtf deleted file mode 100644 index ec6ed59..0000000 --- a/barman/zabbix_agent.d/Userparameter_barman.rtf +++ /dev/null @@ -1,8 +0,0 @@ -{\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf470 -{\fonttbl\f0\fswiss\fcharset0 Helvetica;} -{\colortbl;\red255\green255\blue255;} -\paperw11900\paperh16840\margl1440\margr1440\vieww15160\viewh8400\viewkind0 -\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 - -\f0\fs24 \cf0 UserParameter=barman.discover,/usr/bin/sudo /etc/zabbix/scripts/barman_discovery.py\ -UserParameter=barman.check[*],/usr/bin/sudo /usr/bin/barman check --nagios $1 | cut -f2 -d' ' | head -1} \ No newline at end of file