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_emc_clariion.pl

Rating
15 votes
Favoured:
2
Hits
117611
Files:
FileDescription
check_emc_clariion.plthe plugin itself
checkcommands.cfgcheckcommand configuration file
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!
This plugin checks the state of an EMC Clariion system via navicli and naviseccli
Important: This plugin is not actively maintained. For more up-to-date info, go to: check_emc_clariion.pl maintained by BuddhaBob74

The following checks are currently available

* sp
o check the status of the storage processors

* disk
o check the status of the physical disks attached in the DAE`s

* portstate
o check the status of the FC ports in the SP`s

* hbastate
o check the connection state of the specified node

* cache
o check the status of the read and write cache

* faults
o Report the differents faults on the array


for further details view the help on the commandline

the navicli binary is expected in /opt/Navisphere/bin/navicli
now its also possible to use naviseccli with the --user and --password option
Reviews (11)
byradheck, March 18, 2014
It would be excelent, if was posible to check the storage pools ... thanks a lot
bysubhasish, September 18, 2013
I have configured this in my nagios server. This perl script is working like charm in the command line but when I put this in nagios, giving error 'service check did not exit properly'
Hello,

All plugins are working properly except "disk". My EMC Clariion enclosure contains 9 disks only, but nagios plugin is showing all 15 enclosures as 15 individual disks???!!! How it is possible?
Could someone post their config file for me please? I'm unsure how to create my own services. Thank you
bycheper, May 1, 2012
When i want to check portstate, i got error message:

Use of uninitialized value in concatenation (.) or string at /usr/local/nagios/libexec/check_emc_clariion.pl line 462.

command is:
check_emc_clariion.pl -H -u login -p password -t portstate --sp A --port 0

if i send command without --port 0, i got check of all ports normal.

test on VNX 5300
bydarkness, March 22, 2012
Depending on the navi package you installed -scope has to be modified. I found I needed to change this to lower case. And to query a specific host you have to modifiy the .pl changing the 0 to a 1.

A recommendation to @owner would be to allow the scope variable to be an arguement. Modifiy all the navisecc calls in the pl to -scope 1 did the trick for me.

GL!
byCSimpiFoN, January 12, 2012
1 of 1 people found this review helpful
When I want to check SP status with this script over CLI, I got error message.

The command is:

/usr/bin/perl /usr/local/nagios/libexec/check_emc_clariion.pl -H x.x.x.x -u account -p password -t sp --sp B

and the error message is:

Error returned from the Management Server on x.x.x.x
Authentication failed. Possible reasons for failure are invalid security file, invalid username, password and/or scope.
Use of uninitialized value $output in string ne at /usr/local/nagios/libexec/check_emc_clariion.pl line 261.
Use of uninitialized value $output in string eq at /usr/local/nagios/libexec/check_emc_clariion.pl line 263.
UNKNOWN: No output from /opt/Navisphere/bin/navicli

Any idea ? Could you help me please ?!

Thank you in advance!

Best regards,

Tamás Juhász
byaarregi, May 2, 2011
Where can I get the navicli?
bydave_clark, April 14, 2010
The script is very good. There is little documentation to this script, but I was able to understand the workings of naviseccli within the .pl.
bythenomor, February 24, 2010
1 of 1 people found this review helpful
good job.

bug found line 246 (duplicate | in regex) avoiding check_disk to work!
byfrankn, November 13, 2009
Works fine at commandline but failed when run by Nagios with an ePN (embedded Perl Nagios) error. Editing the script and removing __END__ and everything below fixed this and now works perfectly.