forked from opinkerfi/check_veeam_agent_backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
44 lines (33 loc) · 1.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# check_veeam_agent_backup
Simple Nagios plugin that checks the status of veeam agent backup for last 24 hours
## How to use with okconfig
```shell
mkdir -p /etc/nagios/okconfig/templates/veeam
cat << EOF > /etc/nagios/okconfig/templates/veeam/commands.cfg
# Plugin info
# https://github.com/opinkerfi/check_veeam_agent_backup
#
define command {
command_name okc-veeam-check_veeam_agent_backup
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_veeam_agent_backup
}
EOF
cat << EOF > /etc/nagios/okconfig/templates/veeam/services.cfg
# Plugin info
# https://github.com/opinkerfi/check_veeam_agent_backup
#
define service {
name okc-veeam-service
use generic-service
icon_image signal.png
register 0
}
define service {
name okc-veeam-check_veeam_agent_backup
service_description Veeam agent backup status
use okc-veeam-service
check_command okc-veeam-check_veeam_agent_backup
register 0
}
EOF
```