https://github.com/edvler/check_mk-urbackup-check
Check MK plugin to check UrBackup (www.urbackup.org) status
https://github.com/edvler/check_mk-urbackup-check
backup check checkmk extension plugin status urbackup
Last synced: about 2 months ago
JSON representation
Check MK plugin to check UrBackup (www.urbackup.org) status
- Host: GitHub
- URL: https://github.com/edvler/check_mk-urbackup-check
- Owner: edvler
- License: gpl-2.0
- Created: 2018-02-17T20:54:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-22T06:58:25.000Z (7 months ago)
- Last Synced: 2025-04-07T09:39:52.652Z (6 months ago)
- Topics: backup, check, checkmk, extension, plugin, status, urbackup
- Language: Python
- Homepage:
- Size: 433 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Check MK](https://checkmk.com) Plugin to check [UrBackup](http://www.urbackup.org) backups
# News
Starting with Release 2.0.3 for each driveletter in Urbackup-Imagebackups one service is created in check_mk!
The old Imagebackup service without a driveletter are change to UNKN.# Installation
## On the Monitoring Server where Check_mk is installed:
For a detailed description how to work with mkp's goto [https://docs.checkmk.com/latest/de/mkps.html](https://docs.checkmk.com/latest/de/mkps.html).### Short tasks
1. copy the XXXXXX.mkp (see [dist](dist) folder) to your Check_mk server into the /tmp folder.
2. su - (mkp has to be installed on every site you are running!)
3. mkp install /tmp/XXXXXX.mkp (replace XXXXXX with the filename downloaded)
4. Goto your Check_mk webinterface. Choose WATO -> Host & Service Parameters. Search for urbackup.## On the UrBackup Server (NOT THE CHECK_MK SERVER!):
1. Install UrBackup API. (https://github.com/uroni/urbackup-server-python-web-api-wrapper)
```
On Ubuntu 16.04.4: apt-get install python3-pip && pip3 install urbackup-server-web-api-wrapper
```
```
On Debian12/Ubuntu 24: apt-get install python3-pip && pip3 install urbackup-server-web-api-wrapper --break-system-packages
```
2. Copy the plugin script [check_mk/agents/plugins/urbackup_check](check_mk/agents/plugins/urbackup_check) into /usr/lib/check_mk_agent/plugins/
3. chmod 755 /usr/lib/check_mk_agent/plugins/urbackup_check
4. Create urbackup-check.ini in $MK_CONFDIR folder (usually /etc/check_mk). See Template [etc/check_mk/urbackup-check.ini](etc/check_mk/urbackup-check.ini)
5. Execute the script: /usr/lib/check_mk_agent/plugins/urbackup_check. If everythings works the output should look like this
```
root@urbackup-server:/usr/lib/check_mk_agent/plugins# ./urbackup_check
<<>>
FMT-PC;;;;;-;;;;;False;;;;;-;;;;;False
NB03;;;;;-;;;;;False;;;;;2017-05-15_08:51;;;;;False
PC01;;;;;2018-02-22_18:05;;;;;False;;;;;2018-02-22_18:36;;;;;True
PC02;;;;;2018-02-23_08:19;;;;;True;;;;;2018-02-23_08:57;;;;;True
PC03;;;;;2018-02-12_00:08;;;;;False;;;;;2017-05-15_09:36;;;;;False
PC04;;;;;-;;;;;False;;;;;2018-01-01_00:00;;;;;False
PC05;;;;;2017-10-02_00:08;;;;;False;;;;;2018-02-17_12:02;;;;;True
pc-xx;;;;;-;;;;;False;;;;;2017-05-15_09:16;;;;;False
swyx01;;;;;2018-02-23_00:02;;;;;True;;;;;2018-02-23_01:01;;;;;True
```## Services screenshot
