Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
nrpe-nagios-plesk-backup-monitor
1.0
2018-12-05
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
@kamtec1
GPL
7458
File | Description |
---|---|
plesk_backup_nagios_1.png | Image of success backup |
plesk_backup_nagios_2.png | Image of backup that has warnings |
plesk_backup_nagios_3.png | Image of backup that has errors |
backup_plesk_checker_v1_0.sh | NEW v1.0 |
backup_plesk_checker.sh | Backup checker script |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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
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)
Be the first to review this listing!