Home Directory Plugins Backup and Recovery check_vranger_backup

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

check_vranger_backup

Rating
0 votes
Favoured:
0
Current Version
0.1
Last Release Date
2018-08-08
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
Hits
5095
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!
This plugin uses VRanger PowerShell extensions to provide the result of all recent scheduled (not on-demand) backups.
check_vranger_backup

Nagios plugin to check vranger backup results

This plugin uses VRanger PowerShell extensions to provide the result of all recent scheduled (not on-demand) backups. This version does not provide the possibility to check individual backups. For this, there is a version by consol_labs: https://labs.consol.de/nagios/check_vranger_jobstatus/ Their site also provides the directions to install Vranger powershell extension:

Setup

First, check if the Snapin is already installed:

Get-PSSnapin

If it does not appear in the list of installed PS-Snap-Ins, it has to be installed first:

C:WindowsMicrosoft.NETFrameworkv2.0.50727>installutil.exe C:Program Files (x86)Quest SoftwarevRangerPowerShellvRanger.API.PowerShell.dll

Then execute

Set-ExecutionPolicy RemoteSigned

to allow also the execution of custom scripts.

In nsclient.ini, this is how I implemented the check:

check_vranger_backup = cmd /c echo scriptscheck_vranger_backup.ps1; exit($lastexitcode) | %SystemRoot%syswow6