Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_vnxe
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!
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.
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)
bymohdwazid, May 19, 2020
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=
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... :)
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... :)
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 ?
./check_vnxe.sh 192.168.xxx.xx admin ***** mm
OK - no faults detected
But Nagios GUI shows output NULL
any ideas ?