librenms/includes/polling/os/arubaos.inc.php
Tom Laermans 752bbc2af8 array keys are strings, duh
git-svn-id: http://www.observium.org/svn/observer/trunk@2863 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-14 19:01:23 +00:00

8 lines
200 B
PHP

<?php
// ArubaOS (MODEL: Aruba3600), Version 6.1.2.2 (29541)
$badchars = array("(", ")", ",");
list(,,$hardware,,$version,) = str_replace($badchars, "", explode (" ", $poll_device['sysDescr']));
?>