librenms/includes/polling/os/ies.inc.php
Tom Laermans 722d912aa1 cleanup OS polling
git-svn-id: http://www.observium.org/svn/observer/trunk@1841 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 11:59:47 +00:00

8 lines
174 B
PHP

<?php
$version = trim(snmp_get($device, "accessSwitchFWVersion.0", "-OQv", "ZYXEL-AS-MIB"),'"');
preg_match("/IES-(\d)*/",$sysDescr, $matches);
$hardware = $matches[0];
?>