Home Directory Plugins Backup and Recovery NTBackup Windows Server 2003

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

Directory Tree

NTBackup Windows Server 2003

Current Version
1
Last Release Date
2012-04-30
Compatible With
  • Nagios 3.x
Owner
License
MIT
Hits
69714
Nagios CSP

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!
NTBackup Nagios Plugin
======================

Overview
--------

Simple plugin for Nagios to test if nightly backups completed successfully.

Prerequisites
-------------
* Install NSClient++: http://www.nsclient.org/nscp
* Install ruby: http://rubyinstaller.org/
* Place the .rb scripts in the NSClient++ scripts folder, i.e: C:Program FilesNSClient++scripts
* Configure the script as an external script for NSClient++. See the sample below if you need help.
* General information about monitoring Windows machines with Nagios can be found here: http://www.nsclient.org/nscp

Configuration
-------------
* Update the BACKUP_DIRECTORY constant in check_nt_backup_config.rb to point to the NTBackup log directory. This directory
is in the user profile of the user account that runs NTBackup.
* If you don't run backups every night you may need to adjust the MAX_AGE constant in the script.
* The MAX_AGE array specifies a different number of hours for each day. This is in case you don't run
backups on weekends.

Example NSC.ini
-------------------
In a default installation it will be here: C:Program FilesNSClient++

The following is a minimalist NSC.ini file. This will get you up and running but you should
probably configure NSC++ with a proper allowed_hosts directive and a password.

[modules]
NRPEListener.dll
CheckExternalScripts.dll

[Settings]
use_file=1
allowed_hosts=

[External Scripts]
check_nt_backup=ruby.exe scriptscheck_backup.rb