Template UserGate backup monitoring
Macros used
| Name | Value |
|---|---|
| {$BACKUP_DIR} | /media/ib/ug |
| {$SSH_PASSWORD} | - |
| {$SSH_USER} | pult |
Discovery rule №1
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Discovery backups | - | SCRIPT | - | discovery.backups |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Backup count for {#NAME} in last day | - | SSH | 30m | ssh.run[{#NAME}_backup,{HOST.IP},22] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| Отсутствуют бекапы для узла {#NAME} за последние сутки, проверьте работу системы | - | last(/Template UserGate backup monitoring/ssh.run[{#NAME}_backup,{HOST.IP},22])=0 | AVERAGE ⚠ | Backup count for {#NAME} in last day |