Nagios plugin to check Dell Equallogic SAN
See http://www.claudiokuenzler.com/nagios-plugins/check_equallogic.php for official documentation.
Monitoring plugin to check Dell Equallogic SAN
Home Page: https://www.claudiokuenzler.com/monitoring-plugins/check_equallogic.php
License: GNU General Public License v2.0
Nagios plugin to check Dell Equallogic SAN
See http://www.claudiokuenzler.com/nagios-plugins/check_equallogic.php for official documentation.
Between 846 & 847 :
if [ -z "${volarray}" ]
then
echo "UNKNOWN - This volume (${volume}) does not exist."; exit 3
fi
should be better, to avoid this kind of cryptic error message :
awk: line 1: syntax error at or near end of line
/usr/lib/nagios/plugins/check_snmp_dell_equallogic.sh: line 848: / 1024: syntax error: operand expected (error token is "/ 1024")
UNKNOWN: should never reach this part```
Reported by Marcin (SiB) Przysowa:
Please add a information from eqlmember.mib :
eqlMemberHealthWarningConditions OBJECT-TYPE SYNTAX BITS {
b2bFailure (10), -- board to board communication between the active and secondary CMs has failed.. Call support?
} MAX-ACCESS read-only
STATUS current
DESCRIPTION "This field defines possible warning health conditions and which ones are present."
::= { eqlMemberHealthEntry 2}
Why?
In short. EQL do two big Failtures and I must stop production with x vmachines :(.
You remember the Rx/Tx Errors at Ethernet interfaces? The same RxTxErrors on Stack Backplane of controllers has name "Back2Back" on EqlTeam before Dell buy EQL. To this times this B2B=Rx/TxErrors between controllers aren't published on SAN HQ, SNMP, Syslog :(. The only what we can find is this B2BFailure Flag with 0 and 1 state :(.
I write before about Back2Back means Rx/TxError for stack of two controllers. I know that OID must be read, change into bit[10] and proper display.
In one Nagios script of other check I grab some code about dec2ba (to bibary bit-array) function.
I am not programmer but script person. If you can add this feature, it will be perfect.
Reported by Marcin (SiB) Przysowa:
General Information - Should provide a ServiceTag!.
Hallo, I use your script to monitor some DELL/EQL
My newest Device is a: PS4210 model: "70-0485"./ Running Firmware: V7.1.5.
One of my Thin-Prov-Volumes was stopped today because of "Low Space", but all of the counters, monitored by your script, where OK.
By my opinion, the issue lies in the calculation of used (Member) space.
If you have (large) Thin-Provisioned-Volumes they allocate space without any DATA written to them.
Reserved Space is always 10% (or more, it depends on your choice). It is allocated, but was not shown in "in use space" by Volume.
So the used space of a volume should always calculated so:
VolSpace="Volume reserve" + preallocated "Free" Space
But I think it is much better to monitor:
"Free Space" or, even better, the ""Free Space" +"Total Reclaimable Space" and set a trigger on this indicator.
Because that are the real Show-Stoppers.
:-)
chia
Difference between "IN-USE" and "Volume reserve"
Counter: free (real free Space in Pool)
Counter: Total Reclaimable Space = Waste bin size aka reclaimable
Hi, i have a error Message by test the script on a check_mk with the prod-User:
check_equallogic: line 153: syntax error near unexpected token <' check_equallogic: line 153: done < <(echo "${membernames[*]}" | sed "s/.1.3.6/\n.1.3.6/g" | sed "1d")'
System is a centos 6.5.
Thanks a lot
When the plugin cannot make an SNMP connection to Equallogic, this should give a warning (snmp connection not established, timeout, or sth like this).
In the current situation some checks might return an UNKNOWN status, others appear OK without any values.
You should add a parameter to "Without perfdata on output".
reported by Marcin (SiB) Przysowa
Reported by Marcin (SiB) Przysowa:
*) MemberUsage not do \n
# bash check_equallogic.sh -H a.b.c.d -C public -t memberusage
OK: Pool 1 Total 18629GB, Used 15464GB (83%)|'space used'=16604851077120, 'total space'=20002803548160[root@nagios plugins]#
*) PoolUsage not do \n and ends with "//" ??
OK: Pool "default" Size 18629GB, Total In Use 15465GB (83%) = (Used 15464GB + Delegated 0GB + Replication 1GB), Free 3163GB // [root@nagios plugins]#
hi!
snmp connection works perfectly, thanks.
But i have an issue with line 850
See below my test, no %age (first issue) and test is OK (second issue)
expr: syntax error
OK - Volumetest-bdd1-bdd-oracle used 90GB of 105GB (%)|'volavail'=112742891520, 'volused'=97108623360
when i suppress [${i}], it works fine but i don't know should it do.
850 : volpercentage=$(expr ${volusedspace[${i}]} * 100 / ${volavailspace[${i}]})
850 : volpercentage=$(expr ${volusedspace} * 100 / ${volavailspace})
OK - Volume test-bdd1-bdd-oracle used 90GB of 105GB (86%)|'volavail'=112742891520, 'volused'=97108623360
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.