2020-08-18 13:27:55 +00:00
|
|
|
defaults = {
|
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'mariadb-server': {},
|
|
|
|
'python3': {},
|
|
|
|
'python3-setuptools': {},
|
|
|
|
'python3-pip': {},
|
2020-04-13 07:53:10 +00:00
|
|
|
},
|
2020-08-18 13:27:55 +00:00
|
|
|
},
|
2020-11-13 11:37:26 +00:00
|
|
|
'backups': {
|
|
|
|
'paths': {
|
|
|
|
'/opt/seafile',
|
|
|
|
},
|
|
|
|
},
|
2020-12-05 08:28:54 +00:00
|
|
|
'icinga2_api': {
|
|
|
|
'seafile': {
|
|
|
|
'services': {
|
|
|
|
'SEAFILE PROCESS': {
|
|
|
|
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit seafile',
|
2021-01-02 11:26:37 +00:00
|
|
|
'vars.notification.sms': True,
|
2020-12-05 08:28:54 +00:00
|
|
|
},
|
|
|
|
'SEAHUB PROCESS': {
|
|
|
|
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit seahub',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-08-18 13:27:55 +00:00
|
|
|
}
|