qaxi / nagios-check_3par Goto Github PK
View Code? Open in Web Editor NEWNagios monitoring tool for HP 3PAR
Nagios monitoring tool for HP 3PAR
Hi,
we had the following condition: the 3par controller report an error on type LD. This breaks the check_health module and report an error. The word "total" is 2 time available inside the internal variable TOTAL. This raise the error on line 620. I fixed the error with an exclusion on the other "total" word group.
Line 619 original:
TOTAL=$( echo "${TMPOUT}" | grep total | awk '{print $1}' )
Line 619 fixed:
TOTAL=$( echo "${TMPOUT}" | grep -v "total node" | grep total | awk '{print $1}' )
Kind regards,
Michael
Hi!
This check is very good as it is.
But i have a feature request regarding checking if volumes are in sync.
We have had problems that rcopy groups are loosing sync.
it would be very nice if there where a option to monitor and check if the copygroups are in "synced" state and if not it would be a warning.
Is it possible to add an extra param for identity_file?
You need to change "grep -c failed" to "grep -c degraded", IMHO. Degraded state is now ignored in check_pd.
Line 283 in 51e5bee
Look at the original nagios script:
https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2610&cf_id=24
Hello!
on the HP PRIMERA arrays (showsys still prints "HPE_3PAR XXX" as model), there is newer OS version and different showcage
command.
On our old 3PAR arrays, there is OS version (showversion) 3.3.2, but on PRIMERA, there is 4.5.0.
The new OS does not support the "-d" parameter for showcage
command - so the check_ps_cage check does not work.
But on the other hand, showcage
command now shows State column directly in the basic output, like this:
cli% showcage
Id Name LoopA Pos.A LoopB Pos.B Drives Temp RevA RevB Model FormFactor State
0 cage0 0:0:4 0 1:0:4 0 20 28-29 0703 0703 DCN5 SFF normal
2 cage2 0:0:2 0 1:0:2 0 20 28-29 0703 0703 DCS12 SFF normal
Some questions:
would it be good if this check can also do the HP PRIMERA (except for the "cage" everything seems to work)?
If we want to somehow branch (conditions) the check code for more HP array types, what is the best one? By OS version (showversion
)? Any other trick?
Thanks for discussion and experiences with this HP arrays!
Does this by chance work on HPE Nimble or Primera ? Tx.
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.