source: Developing/os/Mem-CPU-Information.md This document will guide you through adding detection for Memory / Processor for your new device. #### Memory Detection for memory is done via two php scripts, one for discovery and the other for polling: `includes/discovery/mempools/pulse.inc.php` ```php | Name of this sensor. This is used with the index to generate a unique id for this sensor. index | {{ $index }} | The index of this sensor, defaults to the index of the oid. skip_values | optional | Do not detect this sensor if the value matches Accessing values within yaml: | | | | --- | --- | | {{ $index }} | The index after the given oid | | {{ $count }} | The count of entries (starting with 1) | | {{ $`oid` }} | Any oid in the table or pre-fetched | ##### Custom Discovery and Polling If you need to implement custom discovery or polling you can implement the ProcessorDiscovery interface and the ProcessorPolling interface in the OS class. OS Class files reside under `LibreNMS\OS` ```php