Fix zabbix example
* Changed host group name * Changed host name * Added service port Change-Id: Id0eea8b10537fc63c11ad18b596fefadbb159843
This commit is contained in:
parent
25621b2428
commit
95f54c8872
|
@ -11,6 +11,7 @@ workflows:
|
|||
|
||||
input:
|
||||
- server_name # Name of the new instance
|
||||
- server_port
|
||||
- image_id # image id from Glance service
|
||||
- flavor_id # flavor id - type of instance hardware
|
||||
- ssh_username # VM username
|
||||
|
@ -20,7 +21,6 @@ workflows:
|
|||
- zabbix_username
|
||||
- zabbix_password
|
||||
|
||||
- vyatta_port
|
||||
- vyatta_host
|
||||
- vyatta_username
|
||||
- vyatta_password
|
||||
|
@ -43,6 +43,7 @@ workflows:
|
|||
workflow: zabbix.register_in_zabbix
|
||||
input:
|
||||
machine_ip: $.vm_ip
|
||||
machine_port: $.server_port
|
||||
zabbix_host: $.zabbix_host
|
||||
zabbix_username: $.zabbix_username
|
||||
zabbix_password: $.zabbix_password
|
||||
|
@ -54,7 +55,7 @@ workflows:
|
|||
input:
|
||||
machine_ip: $.vm_ip
|
||||
machine_name: $.server_name
|
||||
port: $.vyatta_port
|
||||
port: $.server_port
|
||||
vyatta_host: $.vyatta_host
|
||||
vyatta_username: $.vyatta_username
|
||||
vyatta_password: $.vyatta_password
|
||||
|
|
|
@ -52,6 +52,7 @@ workflows:
|
|||
|
||||
input:
|
||||
- machine_ip
|
||||
- machine_port
|
||||
- zabbix_host
|
||||
- zabbix_username
|
||||
- zabbix_password
|
||||
|
@ -68,7 +69,7 @@ workflows:
|
|||
action: zabbix method="hostgroup.create" auth={$.zabbix_auth} host={$.zabbix_host}
|
||||
input:
|
||||
params:
|
||||
- name: Demo host group
|
||||
- name: Mistral demo group
|
||||
publish:
|
||||
hostgroup_id: $.result.result.groupids[0]
|
||||
on-success:
|
||||
|
@ -78,9 +79,9 @@ workflows:
|
|||
action: zabbix method="host.create" auth={$.zabbix_auth} host={$.zabbix_host}
|
||||
input:
|
||||
params:
|
||||
host: Demo host
|
||||
host: Mistral host
|
||||
ip: $.machine_ip
|
||||
port: 10500
|
||||
port: $.machine_port
|
||||
useip: 1
|
||||
groups:
|
||||
- groupid: $.hostgroup_id
|
||||
|
|
Loading…
Reference in New Issue