Browse Source

Change network namespace

Change-Id: Idbd415a880e58b4df45fc894323679428a2c5a1e
Olivier Bourdon 2 years ago
parent
commit
c1a66324bd

+ 2
- 2
deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/files/initscripts/snmpd View File

@@ -43,14 +43,14 @@ IP_BINARY="/sbin/ip"
43 43
 SNMPD_BINARY="/usr/sbin/snmpd"
44 44
 SNMPD_PID="/run/snmpd.pid"
45 45
 #run snmpd process in the following namespace:
46
-SNMPDNS="haproxy"
46
+SNMPDNS="zabbix"
47 47
 SNMPDRUN="yes"
48 48
 SNMPDOPTS="-Lsd -Lf /dev/null -p $SNMPD_PID"
49 49
 
50 50
 TRAPD_BINARY="/usr/sbin/snmptrapd"
51 51
 TRAPD_PID="/run/snmptrapd.pid"
52 52
 #run snmptrapd process in the following namespace:
53
-TRAPDNS="haproxy"
53
+TRAPDNS="zabbix"
54 54
 TRAPDRUN="no"
55 55
 TRAPDOPTS="-Lsd -p $TRAPD_PID"
56 56
 

+ 1
- 1
deployment_scripts/puppet/modules/plugin_zabbix_snmptrapd/files/initscripts/snmptrapd View File

@@ -41,7 +41,7 @@
41 41
 . /etc/init.d/functions
42 42
 
43 43
 #run service in the following network namespace:
44
-NS="haproxy"
44
+NS="zabbix"
45 45
 OPTIONS="-Lsd -p /var/run/snmptrapd.pid"
46 46
 if [ -e /etc/sysconfig/snmptrapd ]; then
47 47
   . /etc/sysconfig/snmptrapd

+ 1
- 1
doc/plugin-guide/source/troubleshooting.rst View File

@@ -51,7 +51,7 @@ Finding the management VIP to use to send SNMP traps
51 51
 
52 52
 On the Fuel master node, use the primary controller node (here node-3)::
53 53
 
54
-  # ssh -q node-3 ip netns exec haproxy ifconfig b_zbx_vip_mgmt | \
54
+  # ssh -q node-3 ip netns exec zabbix ifconfig b_zbx_vip_mgmt | \
55 55
       grep 'inet addr:' | sed -e 's/[^:]*://' -e 's/ .*//'
56 56
   192.168.0.3
57 57
 

Loading…
Cancel
Save