monasca-agent/tests
Gary Hessler f9fd9c5a30 Converted the agent config file to yaml to match the plugin config files
Converted the config file to yaml and updated the config processing logic to match.
Cleaned up some deprecated config item processing.

Change-Id: I8c5d9ad841b22d20825608ac9f2c82d8011b04f0
2015-03-02 18:36:15 -07:00
..
apache Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
cacti Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
cassandra Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
functional Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
jmx_yamls Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
lighttpd Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
performance Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
__init__.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
badconfig.conf Unit test cleanup, mostly disabling tests with external requirements 2014-04-30 16:22:59 -06:00
common.py Remove emit_time from the collector and put it into the forwarder. 2015-02-04 14:54:00 -07:00
haproxy-open.cfg Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
haproxy.cfg Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
host-perfdata Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
nginx.conf Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
README.md Converted the agent config file to yaml to match the plugin config files 2015-03-02 18:36:15 -07:00
redisauth.cfg Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
redisnoauth.cfg Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
service-perfdata Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
target_module.py Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
test_cacti.py Cleaned up a lot of the Pep8 violations 2014-08-28 10:42:29 -06:00
test_cassandra_jmx.py Remove emit_time from the collector and put it into the forwarder. 2015-02-04 14:54:00 -07:00
test_check_status.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
test_common.py Remove emit_time from the collector and put it into the forwarder. 2015-02-04 14:54:00 -07:00
test_config.py Remove emit_time from the collector and put it into the forwarder. 2015-02-04 14:54:00 -07:00
test_couch.py Fix E721 - do not compare types, use 'isinstance()' 2014-07-03 11:18:41 -07:00
test_couchbase.py Initial tox setup and misc pep8 fixes. 2014-07-17 17:08:36 -07:00
test_elastic.py Cleaned up a lot of the Pep8 violations 2014-08-28 10:42:29 -06:00
test_gearman.py Fix E721 - do not compare types, use 'isinstance()' 2014-07-03 11:18:41 -07:00
test_haproxy.py Cleaned up a lot of the Pep8 violations 2014-08-28 10:42:29 -06:00
test_iis.py Adjusted whitespace for pep8 compliance 2014-07-03 11:18:41 -07:00
test_java_jmx.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
test_laconic.py Enable hacking check H234 2014-08-05 21:00:21 +02:00
test_mcache.py Cleaned up a lot of the Pep8 violations 2014-08-28 10:42:29 -06:00
test_modules.py Enable hacking check H234 2014-08-05 21:00:21 +02:00
test_mongo.py Cleaned up a lot of the Pep8 violations 2014-08-28 10:42:29 -06:00
test_monstatsd.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
test_mysql.py Adjusted whitespace for pep8 compliance 2014-07-03 11:18:41 -07:00
test_postfix.py Enable hacking check H234 2014-08-05 21:00:21 +02:00
test_redis.py Enable hacking check H234 2014-08-05 21:00:21 +02:00
test_solr.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
test_sqlserver.py Adjusted whitespace for pep8 compliance 2014-07-03 11:18:41 -07:00
test_system.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
test_tail.py Enable hacking check H234 2014-08-05 21:00:21 +02:00
test_tomcat.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
test_transaction.py Remove emit_time from the collector and put it into the forwarder. 2015-02-04 14:54:00 -07:00
test_varnish.py Enable hacking check H234 2014-08-05 21:00:21 +02:00
test_watchdog.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
test_web.py Enable hacking check H234 2014-08-05 21:00:21 +02:00
test_win32_event_log.py Cleaned up a lot of the Pep8 violations 2014-08-28 10:42:29 -06:00
test_win32.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
test_zookeeper.py Enable hacking check H234 2014-08-05 21:00:21 +02:00
tomcat6 Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00
tomcat_cfg.xml Rearranging and adding file structure for Debian packaging. 2014-02-28 10:19:02 -07:00

Tests for the mon agent.

Run with nosestests -w tests

For many tests to work an agent.yaml must be in either /etc/monasca/agent/agent.yaml or in the working directory.

Many tests require specific applications enabled in order for the test to run, these are skipped by default. See https://nose.readthedocs.org/en/latest/plugins/skip.html for details.