HPE Comware Transceiver Sensor Support #3889

merged 6 commits into from Jul 28, 2016


None yet

4 participants

Rosiak commented Jul 27, 2016

As stated in the title.
Thanks to @laf for the initial sensor work.

Rosiak added some commits Jul 27, 2016
@Rosiak Rosiak Initial commit a02312e
@Rosiak Rosiak Add mib a162fe7
@Rosiak Rosiak Wrong bias did used d83ed6b
@Rosiak Rosiak copy paste duh
@murrant murrant commented on an outdated diff Jul 27, 2016
+ * Copyright (c) 2016 Søren Friis Rosiak <sorenrosiak@gmail.com>
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or (at your
+ * option) any later version. Please see LICENSE.txt at the top level of
+ * the source code distribution for details.
+ */
+if ($device['os'] == 'comware') {
+ echo 'Pre-cache Comware: ';
+ $comware_oids = array();
+ echo 'Caching OIDs:';
+ $comware_oids = snmpwalk_cache_multi_oid($device, 'hh3cTransceiverInfoTable', $oids, 'HH3C-TRANSCEIVER-INFO-MIB');
murrant Jul 27, 2016 Contributor

replace $oids with array()

@Rosiak Rosiak Fix offset crash
@Rosiak Rosiak Minor stuff
@laf laf added the New-Device label Jul 28, 2016
@laf laf merged commit bfce191 into librenms:master Jul 28, 2016

2 checks passed

Auto-Deploy Build finished.
continuous-integration/travis-ci/pr The Travis CI build passed
@Rosiak Rosiak deleted the Rosiak:more-comware branch Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment