newdevice: Added additional sensor support for Huawei VRP #4279

This commit is contained in:
Neil Lathwood
2017-01-19 16:42:57 +00:00
committed by GitHub
parent 6df39b9bbd
commit 01e4ac3d58
9 changed files with 351 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
/**
* vrp.inc.php
*
* LibreNMS dbm sensor poller module for VRP
*
* 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.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2016 Neil Lathwood
* @author Neil Lathwood <neil@lathwood.co.uk>
*/
$sensor_value = uw_to_dbm($sensor_value);