Basic HWGroup Poseidon Discovery

Initial PR
This commit is contained in:
Rosiak
2016-01-10 14:58:56 +01:00
parent feb524f0da
commit a265f9a8dc
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?php
/*
* LibreNMS
*
* 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 (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.21796.3.3')) {
$os = 'poseidon';
}
}