tacker.vnfm.monitor_drivers.zabbix.zabbix module¶
-
class
tacker.vnfm.monitor_drivers.zabbix.zabbix.
VNFMonitorZabbix
¶ Bases:
tacker.vnfm.monitor_drivers.abstract_driver.VNFMonitorAbstractDriver
-
add_host_to_zabbix
()¶
-
add_to_appmonitor
(vnf, kwargs)¶
-
static
check_error
(response)¶
-
create_action
()¶
-
create_graph
(itemid, name, nodename)¶
-
create_item
()¶
-
create_template
()¶
-
create_trigger
(trigger_params, vduname)¶
-
create_vdu_host
()¶
-
get_description
()¶ Return description of VNF Monitor plugin.
-
get_name
()¶ Return a symbolic name for the VNF Monitor plugin.
-
get_token_from_zbxserver
(node)¶
-
get_type
()¶ Return one of predefined type of the hosting vnf drivers.
-
monitor_app_driver
(plugin, context, vnf, service_instance)¶
-
monitor_call
(vnf, kwargs)¶ Monitor.
Return boolean value True if VNF is healthy or return an event string like ‘failure’ or ‘calls-capacity-reached’ for specific VNF health condition.
- Parameters
vnf –
kwargs –
- Returns
boolean
- Returns
True if VNF is healthy
-
monitor_get_config
(plugin, context, vnf)¶ Return dict of monitor configuration data.
- Parameters
plugin –
context –
vnf –
- Returns
dict
- Returns
dict of monitor configuration data
-
monitor_url
(plugin, context, vnf)¶ Return the url of vnf to monitor.
- Parameters
plugin –
context –
vnf –
- Returns
string
- Returns
url of vnf to monitor
-
params
= ['application', 'OS']¶
-
send_post
(query)¶
-
set_vdu_info
()¶
-
set_zbx_info
(node)¶
-