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
12955
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.