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


Remember Me


0 votes
Current Version
Last Release Date
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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.



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
> sudo apt-get install python-pexpect



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



-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.