Skip to content
Permalink
Browse files

Support multiple plugin paths for each type of plugin

  • Loading branch information...
Varun Varma
Varun Varma committed Oct 20, 2018
1 parent 6011b0e commit e1afb27179539c5e3dc503c9d6c5ed08c35edb41
Showing with 100 additions and 100 deletions.
  1. +3 −3 examples/conf/panoptes.ini
  2. +3 −3 tests/config_files/test_panoptes_config.ini
  3. +3 −3 tests/config_files/test_panoptes_config_bad_discovery_path.ini
  4. +3 −3 tests/config_files/test_panoptes_config_bad_discovery_path_inaccessible.ini
  5. +3 −3 tests/config_files/test_panoptes_config_bad_enrichment_path.ini
  6. +3 −3 tests/config_files/test_panoptes_config_bad_enrichment_path_inaccessible.ini
  7. +3 −3 tests/config_files/test_panoptes_config_bad_host_null.ini
  8. +3 −3 tests/config_files/test_panoptes_config_bad_kafka_broker_host_null.ini
  9. +3 −3 tests/config_files/test_panoptes_config_bad_kafka_port.ini
  10. +3 −3 tests/config_files/test_panoptes_config_bad_kafka_port_out_of_range.ini
  11. +3 −3 tests/config_files/test_panoptes_config_bad_kafka_port_zero.ini
  12. +3 −3 tests/config_files/test_panoptes_config_bad_log_config_file.ini
  13. +3 −3 tests/config_files/test_panoptes_config_bad_nonexistent_file.ini
  14. +3 −3 tests/config_files/test_panoptes_config_bad_polling_path.ini
  15. +3 −3 tests/config_files/test_panoptes_config_bad_polling_path_inaccessible.ini
  16. +3 −3 tests/config_files/test_panoptes_config_bad_port.ini
  17. +3 −3 tests/config_files/test_panoptes_config_bad_port_out_of_range.ini
  18. +3 −3 tests/config_files/test_panoptes_config_bad_port_zero.ini
  19. +3 −3 tests/config_files/test_panoptes_config_bad_redis_db.ini
  20. +3 −3 tests/config_files/test_panoptes_config_bad_redis_db_negative.ini
  21. +3 −3 tests/config_files/test_panoptes_config_bad_redis_db_out_of_range.ini
  22. +3 −3 tests/config_files/test_panoptes_config_bad_redis_duplicate.ini
  23. +3 −3 tests/config_files/test_panoptes_config_bad_redis_namespace.ini
  24. +3 −3 tests/config_files/test_panoptes_config_bad_with_unreadable_plugins_path.ini
  25. +3 −3 tests/config_files/test_panoptes_config_bad_zookeeper_host_null.ini
  26. +3 −3 tests/config_files/test_panoptes_config_bad_zookeeper_port.ini
  27. +3 −3 tests/config_files/test_panoptes_config_bad_zookeeper_port_out_of_range.ini
  28. +3 −3 tests/config_files/test_panoptes_config_bad_zookeeper_port_zero.ini
  29. +3 −3 tests/config_files/test_panoptes_config_debug.ini
  30. +3 −3 tests/test_framework.py
  31. +6 −5 yahoo_panoptes/framework/configuration_manager.py
  32. +3 −3 yahoo_panoptes/framework/panoptes_configspec.ini
  33. +1 −2 yahoo_panoptes/framework/plugins/manager.py
@@ -34,12 +34,12 @@

[discovery]
# Where to look for Panoptes Discovery plugins
plugins_path = /home/panoptes/plugins/discovery
plugins_paths = /home/panoptes/plugins/discovery,

[polling]
# Where to look for Panoptes Polling plugins
plugins_path = /home/panoptes/plugins/polling
plugins_paths = /home/panoptes/plugins/polling,

[enrichment]
# Where to look for Panoptes Enrichment plugins
plugins_path = /home/panoptes/plugins/enrichment
plugins_paths = /home/panoptes/plugins/enrichment,
@@ -33,13 +33,13 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,

[snmp]
port = 10161
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = non/existent/path
plugins_paths = non/existent/path,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = /root
plugins_paths = /root,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = non/existent/path
plugins_paths = non/existent/path,
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = /root
plugins_paths = /root,
@@ -17,10 +17,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -13,10 +13,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -13,10 +13,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -33,13 +33,13 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,

[snmp]
port = 10161
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = non/existent/path
plugins_paths = non/existent/path,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -14,10 +14,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = /root
plugins_paths = /root,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -17,10 +17,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -17,10 +17,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -17,10 +17,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -17,10 +17,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -17,10 +17,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -17,10 +17,10 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -39,13 +39,13 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,

[snmp]
port = 10161
@@ -31,13 +31,13 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,

[snmp]
port = 10161
@@ -33,13 +33,13 @@
port = 2181

[discovery]
plugins_path = tests/plugins/discovery/__init__.py
plugins_paths = tests/plugins/discovery/__init__.py,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,

[snmp]
port = 10161
@@ -7,10 +7,10 @@
host = ''

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -7,10 +7,10 @@
port = x

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
@@ -7,10 +7,10 @@
port = 65536

[discovery]
plugins_path = tests/plugins/discovery
plugins_paths = tests/plugins/discovery,

[polling]
plugins_path = tests/plugins/polling
plugins_paths = tests/plugins/polling,

[enrichment]
plugins_path = tests/plugins/enrichment
plugins_paths = tests/plugins/enrichment,
Oops, something went wrong.

0 comments on commit e1afb27

Please sign in to comment.
You can’t perform that action at this time.