mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
I removed an incorrect mib and added the correct one. Changed initial detection to use mib instead of numeric oid. Removed trim function. Added wireless sensor class. DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [ ] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
5 lines
124 B
PHP
5 lines
124 B
PHP
<?php
|
|
|
|
$version = snmp_get($device, '.1.3.6.1.4.1.5454.1.80.1.1.2.0', '-OQv');
|
|
$hardware = 'Trango ' . $device['sysDescr'];
|