Add lantronix-slc OS support #3797

Merged
merged 4 commits into from Jul 7, 2016

Projects

None yet

3 participants

@thecityofguanyu
Contributor

No description provided.

Chris A. Evans created lantronix-os branch
f60bccc
@laf laf commented on an outdated diff Jul 7, 2016
includes/polling/os/lantronix-slc.inc.php
@@ -0,0 +1,9 @@
+<?php
+
+ $hardware = snmp_get($device, '.1.3.6.1.4.1.244.1.1.6.28.0', '-Ovqs', ''); // LANTRONIX-SLC-MIB::slcSystemModelString.0
@laf
laf Jul 7, 2016 Member

No point in using the OID and including the mib.

@laf laf added the New-Device label Jul 7, 2016
Chris A. Evans * Modified Lantronix SLC modules to snmpget against OID names via MIB…
… rather than OID numbers

* Added Copyright disclaimer to Lantronix SLC modules

 Changes to be committed:
	modified:   includes/discovery/os/lantronix-slc.inc.php
	modified:   includes/discovery/sensors/temperatures/lantronix-slc.inc.php
	modified:   includes/polling/os/lantronix-slc.inc.php
4a70d2e
@thecityofguanyu
Contributor

@laf

Updated to poll using OID names via MIB instead of numbers.

Chris A. Evans added some commits Jul 7, 2016
Chris A. Evans fixed model dicovery -- slcSystemModelString.0 does not work on older…
… SW versions
88d916f
Chris A. Evans moved slcSystemModelString.0 to features
e63f7d6
@laf laf merged commit 6668c95 into librenms:master Jul 7, 2016

2 checks passed

Auto-Deploy Build finished.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@thecityofguanyu thecityofguanyu deleted the thecityofguanyu:thecityofguanyu/add-lantronix-slc-os branch Jul 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment