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.
For a detailed description how to work with mkp's goto https://docs.checkmk.com/latest/de/mkps.html.
- copy the XXXXXX.mkp (see dist folder) to your Check_mk server into the /tmp folder.
- su - <SITE_NAME> (mkp has to be installed on every site you are running!)
- mkp install /tmp/XXXXXX.mkp (replace XXXXXX with the filename downloaded)
- Goto your Check_mk webinterface. Choose WATO -> Host & Service Parameters. Search for urbackup.
- 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
- Copy the plugin script check_mk/agents/plugins/urbackup_check into /usr/lib/check_mk_agent/plugins/
- chmod 755 /usr/lib/check_mk_agent/plugins/urbackup_check
- Create urbackup-check.ini in $MK_CONFDIR folder (usually /etc/check_mk). See Template etc/check_mk/urbackup-check.ini
- 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
<<<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