Provide the ability to script checking backup status
We have several Plesk servers. I would like to create a script that would be run daily on a separate monitoring server (Nagios) to check the status of the backups on each Plesk server we have. I think its not a good idea to only be notified by Plesk if Plesk thinks the backups had an error. If the task fails to run for any reason, no notification would be sent and we would not know that the backups didn't run. I would like Nagios to know that the backups were successful and alert me if they were not.
Please refer to Plesk Documentation https://docs.plesk.com/en-US/12.5/api-rpc/reference/managing-backups/retrieving-backup-task-status.44539/ to know how to get backup task status by API.
—
ET
-
Sergey Babkevych commented
Hello Rob Dandrea,
I have developed simple NRPE nagios checker that have been approved by Nagios Exchange.
The link to Nagios Exchange:
https://exchange.nagios.org/directory/Plugins/Backup-and-Recovery/Others/nrpe-2Dnagios-2Dplesk-2Dbackup-2Dmonitor/detailsLink to Github - you can get updates there :
https://github.com/kamtec1/nrpe-nagios-plesk-backup-monitorLink to my personal web site - you can get updates regarding the plugin too
https://www.securityinet.com/nrpe-nagios-plesk-backup-monitor/If you have any questions just send me a message ))