Home Directory Plugins Backup and Recovery Others nrpe-nagios-plesk-backup-monitor

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

nrpe-nagios-plesk-backup-monitor

Current Version
1.0
Last Release Date
2018-12-05
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
Owner
Twitter Handle
@kamtec1
License
GPL
Hits
1920
Files:
FileDescription
plesk_backup_nagios_1.pngImage of success backup
plesk_backup_nagios_2.pngImage of backup that has warnings
plesk_backup_nagios_3.pngImage of backup that has errors
backup_plesk_checker_v1_0.shNEW v1.0
backup_plesk_checker.shBackup checker script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a plugin (backup_plesk_checker) that monitors backup status in Plesk panel - Success/Warning/Error/Date checker/Quantity of domains that backuped.
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