mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
broaden konica minolta detection
git-svn-id: http://www.observium.org/svn/observer/trunk@1428 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
if(!$os) {
|
||||
|
||||
if(strstr($sysDescr, "KONICA MINOLTA magicolor")) { $os = "konica"; }
|
||||
if(strstr($sysDescr, "KONICA MINOLTA ")) { $os = "konica"; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
#FIXME snmp_ function!
|
||||
$hardware = trim(exec($config['snmpget'] . " -M ".$config['mibdir'] . " -O vqs -m FOUNDRY-SN-AGENT-MIB:FOUNDRY-SN-ROOT-MIB -" . $device['snmpver'] . " -c " . $device['community'] . " " .
|
||||
$device['hostname'].":".$device['port'] . " sysObjectID.0"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user