add vyatta support from codekiller

git-svn-id: http://www.observium.org/svn/observer/trunk@2659 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-10-07 13:40:55 +00:00
parent 46cdbf9f4b
commit 9f6408c72c
3 changed files with 11 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
<?php
list($features, $version) = split("-", trim(str_replace("Vyatta", "", snmp_get($device, "SNMPv2-MIB::sysDescr.0", "-Oqv", "SNMPv2-MIB"))), 2);
?>