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 Oracle StorageTek ACSLS

Rating
0 votes
Favoured:
0
Current Version
1.1
Last Release Date
2019-10-01
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
4376
Files:
FileDescription
check_acslscheck_acsls
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!
A Nagius plugin to check Oracle StorageTek ACSLS status.
Written in BASH and is intended to run on the ACSLS host.
Installation instructions:

This should run on the ACSLS host. The NRPE client should be running with group id acsls because of permissions. To accomplish this, modify this line in nrpe.cfg:
nrpe_group=acsls
and restart nrpe.

Then, depending on which OS is used, the bash interpreter line should be modified:

#!/usr/bin/bash
# (Solaris)
#--!/bin/bash
# (Linux)
# (Use the applicable line)

The script defaults to Solaris settings.

Also check if the path to the ACSLS environment file is correct:
ACSLSENV=/var/tmp/acsls/.acsls_env

Lastly copy check_acsls to /opt/nagios/libexec (Solaris default) and modify your nrpe.cfg, for example:
command[check_acsls]=/opt/nagios/libexec/check_acsls $ARG1$ $ARG2%

The plugin has been tested on Solaris 10 with ACSLS 8.3.0 and on Solaris 11 with ACSLS 8.5.0. It *should* work on Linux as well but this is currently untested.

The plugin has been tested with SL8500 libraries but should also work on other SL libraries as long as ACSLS is used.

Usage: check_acsls <-l,--lsm|-s,--services|-p,--ports|-w,--watchvols,-h,--help>
A Nagios plugin to check Oracle StorageTek ACSLS status.

Options:
--lsm, -l Checks for any LSMs in offline (critical) or recovery (warning) state
--ports, -p Checks for offline ports (one warning two critical)
--services, -s Checks if ACSDB and ACSLS services are running
--watchvols, -w Checks if watch_vols is running
--help, -h Print this help text.

Known bug: --long option format currently does not work on Solaris.