mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Processor Tests! * Capture data from live devices easily. * fix up some stuff, remove powerconnect things as they seem to be just broken. * formatting, fix missing assignment add netonix processor data * fix multi-line, always add sysDescr and sysObjectID ios cpm test file * revert composer change and fix whitespace issues * add help text * missed help text * tighter debug output * handle empty strings properly and mibs with numbers * use keys for sorting as intended * fix type with empty data * oops :) * whitespace fix * try installing fping * Fix TestCase collision + cleanup * mark TestCase as abstract don't run two instances of snmpsim * better database dumps, improved capture * style fixes * fix quotes add a few more tables * add --prefer-new, properly merge data * Support separate discovery and poller data. But don't waste space if they aren't needed. * refactor to use class collects all code in one place for reusability * reorganize * Print out when not saving. * Support for running multiple (or all) modules at once. * tidy * Change unit test to a generic name and test all modules we have data for. * Add documentation and a few more tidies * whitespace fixes * Fix tests, add a couple more modules, more docs * More docs updates * Fix scrutinizer issues * add bgp-peers
46 lines
1.8 KiB
YAML
46 lines
1.8 KiB
YAML
applications:
|
|
applications:
|
|
excluded_fields: [device_id, app_id, timestamp]
|
|
application_metrics:
|
|
excluded_fields: [app_id]
|
|
joins:
|
|
- { custom: 'INNER JOIN (SELECT app_id, app_type FROM applications WHERE `device_id`=?) I USING (app_id)' }
|
|
custom_where: ''
|
|
arp-table:
|
|
ipv4_mac:
|
|
excluded_fields: [device_id, port_id]
|
|
bgp-peers:
|
|
bgpPeers:
|
|
excluded_fields: [device_id, bgpPeer_id]
|
|
bgpPeers_cbgp:
|
|
excluded_fields: [device_id]
|
|
mempools:
|
|
mempools:
|
|
excluded_fields: [device_id, mempool_id]
|
|
ports:
|
|
ports:
|
|
excluded_fields: [device_id, port_id, poll_time, poll_period]
|
|
joins:
|
|
- { left: ports.port_id, right: ports_statistics.port_id }
|
|
processors:
|
|
processors:
|
|
excluded_fields: [device_id, processor_id]
|
|
sensors:
|
|
sensors:
|
|
excluded_fields: [device_id, sensor_id, state_translation_id, state_index_id, sensors_to_state_translations_id, lastupdate]
|
|
joins:
|
|
- { left: sensors.sensor_id, right: sensors_to_state_indexes.sensor_id }
|
|
- { left: sensors_to_state_indexes.state_index_id, right: state_indexes.state_index_id }
|
|
state_indexes:
|
|
excluded_fields: [device_id, sensor_id, state_translation_id, state_index_id, state_lastupdated]
|
|
joins:
|
|
- { left: state_indexes.state_index_id, right: state_translations.state_index_id }
|
|
- { custom: 'INNER JOIN ( SELECT i.state_index_id FROM `sensors_to_state_indexes` i LEFT JOIN `sensors` s ON (i.`sensor_id` = s.`sensor_id`) WHERE `device_id`=? GROUP BY i.state_index_id) d ON d.state_index_id = state_indexes.state_index_id' }
|
|
custom_where: ''
|
|
storage:
|
|
storage:
|
|
excluded_fields: [device_id, storage_id]
|
|
wireless:
|
|
wireless_sensors:
|
|
excluded_fields: [device_id, sensor_id, access_point_id, lastupdate]
|