Files
librenms-librenms/includes/polling/os/arista_eos.inc.php
Adam Amstrong b0ed81624c apc and arista fixes from fenestro
git-svn-id: http://www.observium.org/svn/observer/trunk@1862 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 17:10:44 +00:00

6 lines
153 B
PHP
Executable File

<?php
$version = preg_replace("/.+ version (.+) running on .+ (\S+)$/", "\\1||\\2", $sysDescr );
list($version,$hardware) = explode("||", $version);
?>