Skip to content

jkells/nagios-plugin-ntbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTBackup Nagios Plugin

Overview

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

Prerequisites

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 Files\NSClient++\

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 scripts\check_backup.rb

About

Nagios Plugin for NTBackup on Windows Server 2003

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages