mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
git-svn-id: http://www.observium.org/svn/observer/trunk@1801 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
if(!$os) {
|
||||
$fnSysVersion = shell_exec($config['snmpget'] . " -Ovq -".$device['snmpver']." -c ". $device['community'] ." ". $device['hostname'].":".$device['port'] ." 1.3.6.1.4.1.12356.1.3.0");
|
||||
$fnSysVersion = snmp_get($device, "1.3.6.1.4.1.12356.1.3.0", "-Ovq");
|
||||
if(strstr($fnSysVersion, "Fortigate")) {
|
||||
$os = "fortigate";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user