Finish Backup Docs

This commit is contained in:
Burningstone91
2021-02-21 17:00:08 +01:00
parent daff0ff26c
commit 5f654bbcc2

View File

@@ -2424,11 +2424,11 @@ sensor:
```
The scan interval must match with the period you set in the healtchecks.io check. Now the sensor will send a GET request to the healtchecks.io ping URL every 5 minutes.
I also use healthchecks.io to monitor my most important backups, such as the Home Assistant VM.
I also use healthchecks.io to monitor my most important backups, such as the Home Assistant VM, the Network Pi, etc..
To monitor the automatic VM backup through Proxmox, I configured Proxmox to send the mail on sucess to the healthchecks.io mail address. I then configured the check in healthchecks.io to look for the word "success" in the mail, set up a schedule to check daily at the time I do the backup.
To monitor the automatic VM backup through Proxmox, I configured Proxmox to send the mail on sucess to the healthchecks.io mail address for this check. I then configured the check in healthchecks.io to look for the word "success" in the mail, set up a schedule to check daily at the time I do the backup.
To monitor the backups of my phone I sue SMBSync and Tasker. SMBSync makes an automatic weekly backup and issues a notification on sucess. Tasker intercepts this notification and sends a ping to the healthchecks.io URL.
To monitor the backups of my Main NAS to the Backup NAS, I use the same methodology as for the VM backups, but the mail comes from Synology instead of Proxmox.
To monitor the backup of the network Pi and the ZigBee/Z-Wave Pi, I simply added a curl command to the healtchecks.io URL to my the cron jobs.
@@ -2467,22 +2467,27 @@ sensor:
{{ 'Less than 1 min' if time < 60 else days + hours + minutes }}
```
### Notification on Low Battery
#### Notification on Failed Backup
I use an automation to notify me when one of the above backup healthchecks goes "down" (no ping happened -> issue).
[Notify on failed backup](https://github.com/Burningstone91/smart-home-setup/blob/daff0ff26c3ec0610c9fba7b204b1c2bc01a89b4/home-assistant/packages/system_monitoring.yaml#L1061)
### System Monitoring Notifications
#### Notification on Low Battery
I use a simple automation to notify me when the battery level for any of the ZigBee or Z-Wave devices is below 20%.
[Notify on low battery level](https://github.com/Burningstone91/smart-home-setup/blob/309ba38ed9797f3849d91597a8be7b4bf9643d8a/home-assistant/packages/system_monitoring.yaml#L859)
### Notification on Bad Login Attempt
#### Notification on Bad Login Attempt
I use an automation to notify me when there was a bad login attempt. I use the emergency channel (only works for Android phones) for this notification. I configured my phone to allow messages from the emergency channel when in Do not Disturb Mode.
[Notify on bad login attempt](https://github.com/Burningstone91/smart-home-setup/blob/309ba38ed9797f3849d91597a8be7b4bf9643d8a/home-assistant/packages/system_monitoring.yaml#L1000)
### Notification on Device Offline
#### Notification on Device Offline
I use an automation to notify me when a device went offline. For network clients I check the device tracker generated by the Unifi integration going to 'not_home' for 5 minutes and for the ZigBee/Z-Wave devices I check when the respective sensor goes 'unavailable' for 5 minutes.
[Notify on device offline](https://github.com/Burningstone91/smart-home-setup/blob/309ba38ed9797f3849d91597a8be7b4bf9643d8a/home-assistant/packages/system_monitoring.yaml#L1017)
### Notification on high usage/temperature of devices
#### Notification on High Usage/Temperature of Devices
I use automations to notify me about high CPU load, high CPU/Disk temperature, high disk usage and under Voltage detected for the Pis.
[High CPU Load](https://github.com/Burningstone91/smart-home-setup/blob/309ba38ed9797f3849d91597a8be7b4bf9643d8a/home-assistant/packages/system_monitoring.yaml#L903)
@@ -2495,7 +2500,7 @@ I use automations to notify me about high CPU load, high CPU/Disk temperature, h
[Undervoltage](https://github.com/Burningstone91/smart-home-setup/blob/309ba38ed9797f3849d91597a8be7b4bf9643d8a/home-assistant/packages/system_monitoring.yaml#L977)
### Notification on high usage/temperature of devices
#### Notification on Insecure NAS
I use automations to notify me about one of the NAS being insecure, the sensor for this comes from the Synology DSM integration. Synology has a so called "Security Advisor" that you can configure, which performs certain security checks such as strong passwords, non-default port for SSH etc. If the Security Advisor is unsafe, the sensor in Home Assistant changes to `on`.
[Insecure NAS](https://github.com/Burningstone91/smart-home-setup/blob/eacd482ef61c7074f3bb49123ecbeefc1c74c96b/home-assistant/packages/system_monitoring.yaml#L1001)