2009-11-28 09:48:23 +00:00
|
|
|
<?php
|
|
|
|
|
2012-02-14 19:01:23 +00:00
|
|
|
$hardware = "Dell ".snmp_get($device, "productIdentificationDisplayName.0", "-Ovq", "Dell-Vendor-MIB");
|
|
|
|
$version = snmp_get($device, "productIdentificationVersion.0", "-Ovq", "Dell-Vendor-MIB");
|
|
|
|
$features = snmp_get($device, "productIdentificationDescription.0", "-Ovq", "Dell-Vendor-MIB");
|
2009-11-28 09:48:23 +00:00
|
|
|
|
2010-03-02 17:57:24 +00:00
|
|
|
if (strstr($hardware,"No Such Object available"))
|
|
|
|
{
|
2012-02-14 19:01:23 +00:00
|
|
|
$hardware = $poll_device['sysDescr'];
|
2010-03-02 17:57:24 +00:00
|
|
|
}
|
|
|
|
|
2011-03-15 11:59:47 +00:00
|
|
|
?>
|