From 9aecc210466ab7595805c775db472759f351684e Mon Sep 17 00:00:00 2001 From: Maciej Relewicz Date: Wed, 2 Sep 2015 15:07:42 +0200 Subject: [PATCH] fix for 'Length limitation added for vip name in network roles' Change-Id: I307680d2b03f387009a463a9d9294fd267c089f5 --- .../puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp | 2 +- doc/content/guide.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp b/deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp index 6ce52f0..c355087 100644 --- a/deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp +++ b/deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/manifests/init.pp @@ -23,7 +23,7 @@ class plugin_zabbix_snmptrapd { $plugin_settings = hiera('zabbix_snmptrapd') $network_metadata = hiera('network_metadata') - $server_ip = $network_metadata['vips']['zabbix_vip_management']['ipaddr'] + $server_ip = $network_metadata['vips']['zbx_vip_mgmt']['ipaddr'] $server_port = '162' class { 'snmp': diff --git a/doc/content/guide.rst b/doc/content/guide.rst index 82b24c2..d652af8 100644 --- a/doc/content/guide.rst +++ b/doc/content/guide.rst @@ -59,11 +59,11 @@ To test if everything is installed and configured properly, follow these steps: If you don’t know the address, run the following command on any node:: - [root@node-46 ~]# grep -A2 ^zabbix_vip_management /etc/astute.yaml + [root@node-46 ~]# grep -A2 ^zbx_vip_mgmt /etc/astute.yaml You should get the required VIP in the output:: - zabbix_vip_management: + zbx_vip_mgmt: network_role: zabbix ipaddr: 192.168.0.1