Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_emc_clariion.pl
117524
File | Description |
---|---|
check_emc_clariion.pl | the plugin itself |
checkcommands.cfg | checkcommand configuration file |
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
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'
bynishith, January 20, 2013
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?
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?
byIntrospectiveAndroid, July 26, 2012
Could someone post their config file for me please? I'm unsure how to create my own services. Thank you
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
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!
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!
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
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
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.
good job.
bug found line 246 (duplicate | in regex) avoiding check_disk to work!
bug found line 246 (duplicate | in regex) avoiding check_disk to work!