Home Directory Plugins Backup and Recovery Others check_usolved_omnicube_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_usolved_omnicube_backup

Rating
0 votes
Favoured:
0
Current Version
1.1
Last Release Date
2015-02-16
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
13330
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 Python Nagios plugin checks for any failed VM backups on SimpliVity Omnicubes. There's also a second mode in this plugin to check if all VMs have assigned backup policies.
You can download the latest version and see the full documentation on GitHub.

----------------------------------------------------------

INSTALLATION:

Just copy the file check_usolved_omnicube_backup.py into your Nagios plugin directory. For example this path: /usr/local/nagios/libexec/

Give check_usolved_omnicube_backup.py execution rights for the nagios user. This plugin needs Python 2 to be installed.

Because this plugin uses SSH to connect to the OmniCube you need the Python module "pexpect" installed which contains "pxssh".

> sudo yum install pexpect.noarch
or
> sudo apt-get install python-pexpect

----------------------------------------------------------

USAGE:

If you are in the Nagios plugin directory execute this command:

./check_usolved_omnicube_backup.py -H ip_address_of_omnicube -U "domainmyuser" -P yourpassword -M status

This should output something like this:
OK - All backups were successful

----------------------------------------------------------

ARGUMENTS:

-H (host address)
Give the host address of an OmniCube with the IP address or FQDN

-U (ssh user)
OmniCube SSH username (remember to escape the backslash in the username. For example domainmyuser would be "domainmyuser" or domainmyuser as argument)

-P (ssh password)
OmniCube SSH password

-M (mode)
Plugin mode (-M status (to check if all backups were successful) or -M policy (to check if all VMs have policies assigned))

[-E (exclude VMs)]
Optional: Exclude comma separated hosts from the check for policy check

[-D (perfdata)]
Optional: Without an argument the backups status check gets the status from yesterday.
If you wish to check for other time ranges, give the argument -D YYYY-MM-DD

[-T (perfdata)]
Optional: SSH timeout in seconds. Default is 45 seconds.