Backup and Recovery

nrpe-nagios-plesk-backup-monitor

Description:

This is a plugin (backup_plesk_checker) that monitors backup status in Plesk panel – Success/Warning/Error/Date checker/Quantity of domains that backuped.

Current Version

1.0

Last Release Date

2018-12-05

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

License

GPL


Project Files
Project Notes
This is a basic plugin (backup_plesk_checker) that monitors backup activities in Plesk panel. This plugin have 5 main options: 1) Success status - backup ok 2) Warning status - backup have warnings 3) Error status - backup have errors 4) Backup unsuccessful - date not equal to backup date 5) Not all domains are backuped - How many domains have been backuped if the number is not equal it will give warning ====================================== NEW V.1.0 script can only check PLESK backup status + dumpstatus !! ====================================== ===================================== Compatibility with plesk panel versions: 17.8 - NO 17.5 - NO 17.0 - OK 12.5 - OK 12.0 - OK 11.0 - OK ===================================== Installation instructions: Edit file /etc/sudoers and add the following; nrpe ALL=(root) NOPASSWD: /usr/lib64/nagios/plugins/backup_plesk_checker.sh nagios ALL=(root) NOPASSWD: /usr/lib64/nagios/plugins/backup_plesk_checker.sh Edit file /etc/nagios/nrpe.cfg and add the following; command[check_backup]=/usr/bin/sudo /usr/lib64/nagios/plugins/backup_plesk_checker.sh Copy backup_plesk_checker.sh to /usr/lib64/nagios/plugins/ and give this script 777 or just execute :) And the Final step is to define service/define command to specific servers in Nagios server. ====================================== NEW V.1.0 script can only check PLESK backup status + dumpstatus !! ====================================== =============================== # Change log 05.12.18 - 1.0 1)EDIT: script redesign 07.02.2018 - 0.3 1)ADDED : Added one more log location to check if all is ok. 23.08.2017 - 0.2 1) EDIT: Removed bash debug (#set -x) 2) ADDED: NEW check!!! How many domains have been backuped - if the number is not equeal it will give warning 3) EDIT: Comments in the code + some cleaning... 20.08.2017 - 0.1a 1) First release =============================== Written by Sergey Babkevych https://www.securityinet.com
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
1
Views
7,497