
Add zabbix monitoring smoke bvt tests. Add zabbix plugin configuration file. Add zabbix api methods. Change-Id: I934c8350c1141636dc4c3018b720fdf40b36b79c
46 lines
1.7 KiB
Python
46 lines
1.7 KiB
Python
# Copyright 2016 Mirantis, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from stacklight_tests.helpers import helpers
|
|
from stacklight_tests import settings
|
|
|
|
name = 'zabbix_monitoring'
|
|
plugin_path = settings.ZABBIX_MONITORING_PLUGIN_PATH
|
|
version = helpers.get_plugin_version(plugin_path)
|
|
zabbix_vip = 'zbx_vip_mgmt'
|
|
dependant_plugins = {
|
|
'ZABBIX_MONITORING_EMC': {
|
|
'name': 'zabbix_monitoring_emc',
|
|
'plugin_path': settings.ZABBIX_MONITORING_EMC_PLUGIN_PATH,
|
|
'version': helpers.get_plugin_version(
|
|
settings.ZABBIX_MONITORING_EMC_PLUGIN_PATH)
|
|
},
|
|
'ZABBIX_MONITORING_EXTREME_NETWORKS': {
|
|
'name': 'zabbix_monitoring_extreme_networks',
|
|
'plugin_path': settings.ZABBIX_MONITORING_EXTREME_NETWORKS_PLUGIN_PATH,
|
|
'version': helpers.get_plugin_version(
|
|
settings.ZABBIX_MONITORING_EXTREME_NETWORKS_PLUGIN_PATH)
|
|
},
|
|
'ZABBIX_SNMPTRAPD': {
|
|
'name': 'zabbix_snmptrapd',
|
|
'plugin_path': settings.ZABBIX_MONITORING_SNMPTRAPD_PLUGIN_PATH,
|
|
'version': helpers.get_plugin_version(
|
|
settings.ZABBIX_MONITORING_SNMPTRAPD_PLUGIN_PATH)
|
|
}
|
|
}
|
|
default_options = {}
|
|
zabbix_username = 'admin'
|
|
zabbix_password = 'zabbix'
|
|
base_nodes = {}
|