- 积分
- 16843
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
7770:20210917:151322.735 cannot send list of active checks to "10.144.108.9": host [zbbix-agent] not found$ \' I, s. A" k7 M% e" R% ]5 Q; u
7768:20210917:151425.745 cannot send list of active checks to "10.144.108.9": host [zbbix-agent] not found
& u% q5 q. ]" p8 s3 {! x 7769:20210917:151449.128 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found8 t1 B: M% Q* H& u% _( x
7772:20210917:151649.146 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found7 R& X2 i' M# |: E' d
7771:20210917:151849.171 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found
. b4 J6 R$ P( u6 I4 ~ ~ 7770:20210917:152049.189 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found& W8 e% y- t" i7 x
7768:20210917:152249.206 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found
( z$ ?! Y$ T+ G: Z& R 7771:20210917:152449.222 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found
& j7 b# [# J% S/ I- z7 L, `% `
2 t& W; X. m \; A2 l) N1 b: _- e% s
根据报错修改配置文件:5 D+ R9 j( }; O0 D4 h& D: C
[root@zabbix-monitor ~]# vim /etc/zabbix/zabbix_server.conf 1 t- _) [# K1 e# q" j& [" J* J8 M
9 I, q: b# C5 h4 v( p) Z$ b$ I
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log7 y2 F* P- s4 d' l
### Option: StartSNMPTrapper
6 n# R1 h6 q" R) ^$ Q' O# If 1, SNMP trapper process is started.# C( Q8 H1 S- u
#
$ V. G2 n L: G) w! }' {+ `0 l# Mandatory: no
* B- p; k9 i0 |# ~$ _# Range: 0-1
4 u0 H# ]2 b' t j9 y8 d# Default: O! l c- t. R. _1 C4 q; k
# StartSNMPTrapper=0
7 _/ a4 Q8 A) r" s$ F/ t### Option: ListenIP! {$ ?. u. j: n' x' [2 ]
# List of comma delimited IP addresses that the trapper should listen on.
# @" }6 L9 t$ T0 P' e# Trapper will listen on all network interfaces if this parameter is missing.: L1 [2 b9 t$ m; b
## t& X9 Z, {/ _1 x6 j" P6 K
# Mandatory: no
4 `$ O0 f6 A% z# Default:
2 ?( o) S4 {- {0 g7 H& W# ListenIP=0.0.0.0+ h: b9 K) v* z6 l( C
# ListenIP=127.0.0.1
3 X. s- K- h) p \7 v/ A) uListenIP=10.144.108.200
/ G* ]7 h6 m" N2 i& g7 v) e: m2 C; g1 H. M3 @
" Y4 H" e6 @1 n: d- r7 }5 M; y
把ListenIP 写出127.0.0.1 或者本机ip即可:
, x+ P" |' W# q S4 j# u
+ J. `3 `* m$ k( M# systemctl restart zabbix-server.service
& X! g- h2 K) f8 o4 i8 @
7 \/ z0 G; U4 d# \" c9 D! M再次查看日志:. j) Q4 S J J+ C: v4 h" D* N% B
" [/ } c- u# o; R% C3 l
7580:20210917:152605.296 Got signal [signal:15(SIGTERM),sender_pid:8734,sender_uid:0,reason:0]. Exiting ...
5 i/ \$ S' t& j2 O, M 7580:20210917:152607.297 syncing history data...
- }0 L* h: w1 H! `4 ]4 \ 7580:20210917:152607.297 syncing history data done
" g5 T: K: U; A 7580:20210917:152607.297 syncing trend data...
* Z: h" y( q/ Y- M1 q* G) {0 H 7580:20210917:152607.300 syncing trend data done
' l' Q( p2 K A% |3 y& j& L) \ 7580:20210917:152607.301 Zabbix Server stopped. Zabbix 3.4.15 (revision 86739).
( G0 Y: \5 ^ z- l/ V 8740:20210917:152607.326 Starting Zabbix Server. Zabbix 3.4.15 (revision 86739).
5 u' k) \6 {+ ]! g 8740:20210917:152607.326 ****** Enabled features ******* i) a v/ \" I! U
8740:20210917:152607.326 SNMP monitoring: YES
1 J4 }/ t! T) }6 C) x 8740:20210917:152607.326 IPMI monitoring: YES
; P+ ~ u2 @. M7 ^ }6 X 8740:20210917:152607.326 Web monitoring: YES$ Z3 P1 ^( ~4 b$ D7 K8 b
8740:20210917:152607.326 VMware monitoring: YES
, p) e- b* y' Y6 \& l 8740:20210917:152607.326 SMTP authentication: YES: T& g% g; V; X+ w+ [, W
8740:20210917:152607.326 Jabber notifications: YES% @) Z- @# l- w+ w! {: K
8740:20210917:152607.326 Ez Texting notifications: YES
, L4 @ t1 w2 W" {8 p: i3 g 8740:20210917:152607.326 ODBC: YES
C' v9 u i) i9 q- E 8740:20210917:152607.326 SSH2 support: YES H3 S5 x& z+ B8 R
8740:20210917:152607.326 IPv6 support: YES; c$ M% D1 I0 ?/ k, ^- O) V% S( E
8740:20210917:152607.326 TLS support: YES5 N- l; j1 N- g5 t% j
8740:20210917:152607.326 ******************************
1 E% {& U0 y. a7 P6 F 8740:20210917:152607.326 using configuration file: /etc/zabbix/zabbix_server.conf- P7 i( D- k) l9 Q* z7 q7 ?0 K
8740:20210917:152607.333 current database version (mandatory/optional): 03040000/03040007
7 }% t' ^ _3 M! V3 D) Y 8740:20210917:152607.333 required mandatory version: 03040000
2 f3 w- n, T M( Y$ v; P 8740:20210917:152607.340 server #0 started [main process]1 @+ G$ C0 }3 e
8745:20210917:152607.340 server #1 started [configuration syncer #1]* C: E$ t( F9 w' P0 u4 }% s0 j
8746:20210917:152607.341 server #2 started [alerter #1]
7 L6 m( K$ N, c1 {% \+ H 8747:20210917:152607.341 server #3 started [alerter #2]
3 ^6 M3 m( J7 ]1 f% D; X; e 8748:20210917:152607.342 server #4 started [alerter #3]7 N( N' i4 N& l2 x" M
8749:20210917:152607.342 server #5 started [housekeeper #1]
% g3 ^, [9 Y) _0 w/ F; n 8750:20210917:152607.342 server #6 started [timer #1]
4 ^4 R/ J- A* Q: ] 8751:20210917:152607.343 server #7 started [http poller #1]0 ?9 _6 b+ `- e F% g
8754:20210917:152607.343 server #8 started [discoverer #1]
8 r$ O+ H; a3 O) ], m7 j% m$ C3 D 8755:20210917:152607.344 server #9 started [history syncer #1]
. ^# e; x6 b1 h2 H1 a! T 8756:20210917:152607.344 server #10 started [history syncer #2]1 J( L$ @2 x+ M# v
8760:20210917:152607.345 server #12 started [history syncer #4]
9 p2 J) W6 [# i) R, |9 q6 M 8761:20210917:152607.346 server #13 started [escalator #1]! C2 Y$ S; f& q) y9 V
8764:20210917:152607.347 server #15 started [self-monitoring #1]
, r+ r$ m2 p) i& M5 Z, n 8766:20210917:152607.347 server #17 started [poller #1]
; @' c$ r# u3 U/ Y) K 8762:20210917:152607.349 server #14 started [proxy poller #1]
( f+ ^! a' F8 S/ o" q6 w$ a/ O 8770:20210917:152607.352 server #21 started [poller #5]6 q# @' e! R' u) }( s& H- J
8758:20210917:152607.354 server #11 started [history syncer #3]8 v3 F* V: F& ~3 t Q
8765:20210917:152607.354 server #16 started [task manager #1]
! \$ g" h$ Z0 W0 C 8772:20210917:152607.355 server #23 started [trapper #1]% s3 ~- Z3 J+ U) _* A" r
8775:20210917:152607.357 server #26 started [trapper #4]
4 `& Y! S8 h/ H8 E 8778:20210917:152607.360 server #29 started [alert manager #1]" |' }; f' ~6 S8 |* d5 d4 O
8771:20210917:152607.362 server #22 started [unreachable poller #1]$ S1 x2 ]$ B% c' K$ g2 F# {' i' L
8779:20210917:152607.363 server #30 started [preprocessing manager #1]
8 [( _/ r! J! X; m: q% i- U( r 8777:20210917:152607.364 server #28 started [icmp pinger #1]( F7 }/ u" w2 F4 D+ q4 Y
8769:20210917:152607.364 server #20 started [poller #4]
- s# w L: x x! F6 i& i R 8768:20210917:152607.365 server #19 started [poller #3]
O) T7 _' C* h. D' P 8767:20210917:152607.368 server #18 started [poller #2]
e3 Q+ ^; O- E 8774:20210917:152607.373 server #25 started [trapper #3]
# x7 H* h! s+ {- T2 ^ 8773:20210917:152607.375 server #24 started [trapper #2]
. k% j/ p. v% e% } 8776:20210917:152607.378 server #27 started [trapper #5]
$ c% C8 ~2 O9 n& e ^! i 8781:20210917:152608.065 server #32 started [preprocessing worker #2]
4 Y: w1 h9 v; q: F1 u+ r7 ^' I 8780:20210917:152608.163 server #31 started [preprocessing worker #1]5 F. q+ z: ^2 m/ v9 x" @+ E6 F
8782:20210917:152608.164 server #33 started [preprocessing worker #3]
% T4 v5 j5 M. y6 }! ^
# Z% Z# M% _. B* t6 I( C( }6 e问题解决:
c# N$ F1 t$ @& Z6 w5 u7 e: j' F: E/ f7 z! @
|
|