mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add version detection for 3Com Baseline switches (and possibly others)
This commit is contained in:
6
includes/polling/os/3com.inc.php
Normal file
6
includes/polling/os/3com.inc.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
# Version is the last word in the sysDescr's first line
|
||||
list($version) = explode("\r", substr($poll_device['sysDescr'], strpos($poll_device['sysDescr'], "Release")+8));
|
||||
|
||||
?>
|
Reference in New Issue
Block a user