Monitor Backups - Last backup for VM
-
@KPS Have you checked our Nagios plugin?
It got some major improvements last release (cf 5.77 blogpost).
-
If I get it correctly, @KPS doesn't use Nagios
-
You can use Vinchin Backup & Recovery to monitor VM backup job in real time. There is a graphical interface presenting the status of the whole backup system.
-
@miller1
Vinchin is looking great at the first look and offers some great features like LAN-free-backup, that can be A LOT faster, than the "classical" approach and Instant-Recover.But in other points it is VERY limited and IMHO not enterprise-ready:
- No smart-backups! You have to define manually which VM is backed up in which job - not by Tag, name, state, etc.
- Absolutely NO API, no Syslog, no real reporting - only basic mail notifications
-
-
@miller1 Just first post to talk specifically about Vinchin This looks a bit spammy. If you want to promote it, it would be better to be more transparent
-
> xo-cli --list-commands backupNg.getLogs backupNg.getLogs [after=<number|string>] [before=<number|string>] [limit=<number>] *=<unknown type>
-
I suppose that answer your requirement @KPS ?
-
@olivierlambert
I will try to build something with that base. The problem is, that I first need a list of the VMs to check for every VM the logs about the last successful backup. -
@KPS You can use
xo-cli --list-objects type=VM
.Also you should only get the backup logs once and join with the VM list, because
backupNg.getLogs
is heavy.