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_vnxe

Rating
3 votes
Favoured:
0
Current Version
1
Last Release Date
2013-10-07
Compatible With
  • Nagios 3.x
License
Apache
Hits
44050
Files:
FileDescription
check_vnxe.shThe main plugin
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!
check_vnxe
This plugin allows you to check all components of an EMC VNXe storage system. Requires Unisphere CLI for Linux.
This plugin checks EMC VNXe storage system and returns pass/fail result for the components checked. The following components can be checked:

ssd
ps
iomodule
dae
lcc
sp
dpe
disk
mm
ccard
bat
general

Please note that this plugin requires that Unisphere CLI is installed on the Nagios server. The verification level for uemcli should be set to low or plugin may fail. Use the setlevel.sh script provided with Unisphere CLI to do this.

Additionally, this plugin seems to need to be executed with sudo when Nagios performs the check. The safest way to do this is to add a line that looks like this in your sudoers file-

nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_vnxe.sh

You will also then need to define the command with sudo in your Nagios config file. Command should look something like this-

sudo /usr/local/nagios/libexec/check_vnxe.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$

The reason for this is that Unisphere CLI returns error when executed under Nagios 3.x without sudo. It's possible this will be fixed in future releases of Unisphere CLI, or future versions of Nagios.

Please send any comments/feedback to charles@beachcamera.com. Hopefully this plugin will be of use to someone.
Reviews (3)
Issue:
It works fine when run manually thorugh command line.
But Unknown or no output when ICINGA executes the plugin.
Cause:
ICINGA is nog able to handle environment vairables.
Resolution:
Add following lines to check_vnxe.sh and it should work fine. Check ICINGA User shell variables for following values.

export HOME=
export USER=
export USERNAME=
byBret, November 19, 2018
Hi
Works fine for me !
It you have a probleme with nagios exec but manual exec is Ok, be sure you allow nagios to execute the script as root into sudoers, for me :
nagios ALL= NOPASSWD:/srv/eyesofnetwork/nagios/plugins/check_vnxe.sh
(and execute the script with "sudo" on nagios, it should be OK... :)
byrobertw, August 15, 2016
1 of 1 people found this review helpful
manual check works fine
./check_vnxe.sh 192.168.xxx.xx admin ***** mm
OK - no faults detected

But Nagios GUI shows output NULL

any ideas ?