Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_usolved_omnicube_backup
1.1
2015-02-16
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
GPL
13294
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!
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.
----------------------------------------------------------
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.
Reviews (0)
Be the first to review this listing!