. * * @package LibreNMS * @link http://librenms.org * @copyright 2018 Tony Murray * @author Tony Murray */ namespace LibreNMS\OS\Traits; use LibreNMS\Device\Processor; trait FrogfootResources { /** * Discover processors. * Returns an array of LibreNMS\Device\Processor objects that have been discovered * * @return array Processors */ public function discoverProcessors() { return array( Processor::discover( $this->getName(), $this->getDeviceID(), '1.3.6.1.4.1.10002.1.1.1.4.2.1.3.2', 0 ) ); } }