Files
librenms-librenms/includes/polling/os/axiscam.inc.php
Neil Lathwood a710c4a33c newdevice: Added support for Axis network video encoder #4395 (#4400)
* newdevice: Added support for Axis network video encoder #4395

* Merge the preg_match

* Add Network Camera test

Couldn't find one for "Video Server"
2016-09-12 12:19:24 -05:00

24 lines
617 B
PHP

<?php
/*
* LibreNMS
*
* Copyright (c) 2014 Neil Lathwood <https://github.com/laf/ http://www.lathwood.co.uk/fa>
*
* 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.
*/
$data = explode('; ', $poll_device['sysDescr']);
if (isset($data[1])) {
$hardware = $data[1];
}
if (isset($data[3])) {
$version = $data[3];
}