Hi, I am new to zabbix and want to monitor a urbackup-server (https://www.urbackup.org).
There is an python api where is can produce json:
pruduces:
What is the best (and probably simple) way, to get this in zabbix? Is it possible, that it automatical expand, when I add backup-clients?
There is an python api where is can produce json:
Code:
import urbackup_api
server = urbackup_api.urbackup_server("http://127.0.0.1:55414/x", "admin", "password")
for client in server.get_status():
print(client)
Code:
{
'client_version_string': '2.4.10',
'delete_pending': '',
'file_ok': False,
'groupname': '',
'id': 2,
'image_ok': True,
'ip': '-',
'last_filebackup_issues': 4,
'lastbackup': 1600873220,
'lastbackup_image': 1600762213,
'lastseen': 1600876692,
'name': 'PC22',
'online': False,
'os_simple': 'windows',
'os_version_string': 'Microsoft Windows 10 Pro (build 17134), 64-Bit',
'processes': [],
'status': 0
}
{
'client_version_string': '2.4.10',
'delete_pending': '',
'file_ok': True,
'groupname': '',
'id': 3,
'image_ok': True,
'ip': '192.168.7.11',
'last_filebackup_issues': 0,
'lastbackup': 1600932918,
'lastbackup_image': 1600710792,
'lastseen': 1600934604,
'name': 'SKC-SRV1',
'online': True,
'os_simple': 'windows',
'os_version_string': 'Microsoft Windows Server 2012 R2 Standard (build 9600), 64-Bit',
'processes': [],
'status': 0
}
Comment