git-svn-id: http://www.observium.org/svn/observer/trunk@381 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-03-25 14:54:21 +00:00
parent 6adb378b42
commit 3f392bcd71
3 changed files with 13 additions and 6 deletions
-1
View File
@@ -3,7 +3,6 @@
echo("Cisco VLANs : ");
$vtpversion_cmd = $config['snmpget'] . " -Oqv -" . $device['snmpver'] . " -c " . $device['community'] . " " . $device['hostname'].":".$device['port'] . " .1.3.6.1.4.1.9.9.46.1.1.1.0";
echo("$vtpversion_cmd");
$vtpversion = trim(`$vtpversion_cmd 2>/dev/null`);
if($vtpversion == '1' || $vtpversion == '2' || $vtpversion == 'two' || $vtpversion == 'three') {