Basic HPE 3PAR Support #3578

Merged
merged 3 commits into from Jun 9, 2016

Projects

None yet

4 participants

@Rosiak
Contributor
Rosiak commented May 31, 2016

#3521

Have not done polling part, but if anyone fancy here's the part that needs regex foo:

HP_3PAR 8200, ID: 101863, Serial number: CZ3544L8AY, InForm OS version: 3.2.2
Søren Rosiak Basic HPE 3PAR Support
38448e7
@laf
Member
laf commented Jun 2, 2016

@Rosiak


if (preg_match('/^HP_3PAR (.*), ID: (.*), Serial number: (.*), InForm OS version: (.*)/', $poll_device['sysDescr'], $regexp_result)) {
    $hardware = 'HP 3Par '.$regexp_result[1];
    $serial = $regexp_result[3];
    $version  = $regexp_result[4];
}
Søren Rosiak added some commits Jun 6, 2016
Søren Rosiak Add polling 93f93aa
Søren Rosiak Credit to Neil 0951866
@murrant murrant merged commit 9074913 into librenms:master Jun 9, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@KieronG
KieronG commented Aug 4, 2016

I've just tested this on a 3par 8200 and it give errors on the graphing

@laf
Member
laf commented Aug 5, 2016

Please create an issue or stop by on our irc channel

@Rosiak Rosiak deleted the Rosiak:hp3par-support branch Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment