|
|
7770:20210917:151322.735 cannot send list of active checks to "10.144.108.9": host [zbbix-agent] not found a' l" P9 m+ D; V
7768:20210917:151425.745 cannot send list of active checks to "10.144.108.9": host [zbbix-agent] not found
, }+ ^$ ]0 r( N5 F3 s 7769:20210917:151449.128 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found2 k0 x- V: o2 |, R9 V7 c
7772:20210917:151649.146 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found1 w# [7 `8 j0 k: G; \
7771:20210917:151849.171 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found' ~) _- S! w4 L% W
7770:20210917:152049.189 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found
2 q) n4 j: B9 h; A 7768:20210917:152249.206 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found8 b- v8 x% L; o9 d6 a6 R
7771:20210917:152449.222 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not found
. G! y, `9 R2 y# }$ K) K% c, m3 Z0 a1 a
/ \! Y4 F% G s4 M9 w: O根据报错修改配置文件:# z4 t% B% c$ r
[root@zabbix-monitor ~]# vim /etc/zabbix/zabbix_server.conf
. l5 Z& @( T! K. |. p0 W5 ^" [: I: c+ z9 x3 K# A- P: U
SNMPTrapperFile=/var/log/snmptrap/snmptrap.log8 x8 @6 p6 P$ D# Y9 t( I
### Option: StartSNMPTrapper
6 w; K% h$ d; F3 f# If 1, SNMP trapper process is started.
o3 j$ F2 b& e+ p0 I#9 _ i. s" L) U. j2 C8 D# f7 u/ e
# Mandatory: no
$ ]5 o' h' Q/ u# Range: 0-1
% R/ c, x: U4 g. m7 e: I# Default:+ }# i5 X' r) K6 p) J( d
# StartSNMPTrapper=08 ]3 x$ Z0 N( K; J+ ^$ i& W) t
### Option: ListenIP6 T* P8 h* _; g! R
# List of comma delimited IP addresses that the trapper should listen on. F% K, W3 R7 f4 z3 I4 y1 A* q
# Trapper will listen on all network interfaces if this parameter is missing.) u, g. }- v7 v
#
5 A. E0 w. \7 X2 a6 Q9 t Y# ~# Mandatory: no7 q" m. k4 x- C8 @
# Default:& m/ k+ G7 \: ] [& _3 S
# ListenIP=0.0.0.0" U( ^' `8 D3 l- c5 A
# ListenIP=127.0.0.1
, N5 v4 d( d& n! cListenIP=10.144.108.2007 ]4 `& U( s8 e5 [" F) s6 k
2 x# z5 I R& V. O+ b
* |' N8 n) }5 i; x$ h, \' h8 j. U把ListenIP 写出127.0.0.1 或者本机ip即可:, K, E7 L9 p1 e6 i; @* w5 S7 J
+ l4 g8 {0 G! k6 k
# systemctl restart zabbix-server.service
* _: b {* k) @) l5 P$ i* O0 z* a. G
再次查看日志:
" _* M6 E4 ]2 H! K4 ~8 g2 O: h; U3 S5 R( k* C8 _' ?
7580:20210917:152605.296 Got signal [signal:15(SIGTERM),sender_pid:8734,sender_uid:0,reason:0]. Exiting .../ J: ` E5 t# l' X3 C4 h
7580:20210917:152607.297 syncing history data...
- f. R `$ K/ Q" j 7580:20210917:152607.297 syncing history data done h, e5 M9 F4 K
7580:20210917:152607.297 syncing trend data...
' N6 {1 o! m: G 7580:20210917:152607.300 syncing trend data done
' v3 b' E- g' I- r 7580:20210917:152607.301 Zabbix Server stopped. Zabbix 3.4.15 (revision 86739).
! L! X s+ V% ]* U5 p. G 8740:20210917:152607.326 Starting Zabbix Server. Zabbix 3.4.15 (revision 86739).& T4 ^, R: P4 C& J; c0 c# K
8740:20210917:152607.326 ****** Enabled features ******% P- O* Q. a4 H" }4 g6 k
8740:20210917:152607.326 SNMP monitoring: YES
3 P1 i5 A, E7 K5 B: E, P 8740:20210917:152607.326 IPMI monitoring: YES c: ?2 H8 z3 U. V6 |$ {5 f
8740:20210917:152607.326 Web monitoring: YES+ T9 e! h( F/ y& _
8740:20210917:152607.326 VMware monitoring: YES; X9 M' e% Q6 A2 g# f
8740:20210917:152607.326 SMTP authentication: YES' Y, H) J; O0 O6 C, ]% @" J4 V
8740:20210917:152607.326 Jabber notifications: YES
" {! p- g/ q# S4 G- u 8740:20210917:152607.326 Ez Texting notifications: YES5 ^; i7 q8 l7 V3 h# ^9 Z; g/ I
8740:20210917:152607.326 ODBC: YES+ Y& a# i$ H" F' L P
8740:20210917:152607.326 SSH2 support: YES2 _) u8 \4 S5 E/ k* h
8740:20210917:152607.326 IPv6 support: YES) y, z6 `8 r4 K
8740:20210917:152607.326 TLS support: YES) k2 W* r/ Y4 }$ l" P& N& q; G
8740:20210917:152607.326 ******************************
1 V6 N; r/ ?! ^5 N& o3 q1 N; k2 C 8740:20210917:152607.326 using configuration file: /etc/zabbix/zabbix_server.conf
! ]3 _1 v5 i% s* | 8740:20210917:152607.333 current database version (mandatory/optional): 03040000/03040007* T' @6 P) A7 u+ \& ]5 D
8740:20210917:152607.333 required mandatory version: 03040000/ M6 ^+ F7 A( B* O; `
8740:20210917:152607.340 server #0 started [main process]
) y$ o: k1 z$ D8 a1 Z 8745:20210917:152607.340 server #1 started [configuration syncer #1]
6 o5 N c3 _' _% R( b x. F 8746:20210917:152607.341 server #2 started [alerter #1]( [+ K5 P7 C" Z" ]+ G
8747:20210917:152607.341 server #3 started [alerter #2]
, E9 j$ `% D; j- o 8748:20210917:152607.342 server #4 started [alerter #3]/ u+ k# W2 Q8 P) M' S4 J
8749:20210917:152607.342 server #5 started [housekeeper #1]
. ]) |! B# R: @ 8750:20210917:152607.342 server #6 started [timer #1]* M' t) v% v6 p, q% w: F- a
8751:20210917:152607.343 server #7 started [http poller #1]8 Y- D# S" M* ^ N
8754:20210917:152607.343 server #8 started [discoverer #1]
) h- {* |1 o2 t+ g, r 8755:20210917:152607.344 server #9 started [history syncer #1]
' A7 ? y8 o$ o8 T 8756:20210917:152607.344 server #10 started [history syncer #2]! q' S6 I( f1 U6 ~6 l$ G' f
8760:20210917:152607.345 server #12 started [history syncer #4]
$ D1 x8 t3 A, X, h! k8 x 8761:20210917:152607.346 server #13 started [escalator #1]
! [ r* B3 j6 P/ r 8764:20210917:152607.347 server #15 started [self-monitoring #1]) Y# _8 r. @" I: h
8766:20210917:152607.347 server #17 started [poller #1]
5 v4 z2 Q7 L% O2 U- S" V/ w 8762:20210917:152607.349 server #14 started [proxy poller #1]
" l- P1 r+ A, ^' q) a: {( { 8770:20210917:152607.352 server #21 started [poller #5]
3 {& o1 `% f i$ [ 8758:20210917:152607.354 server #11 started [history syncer #3]# j) G+ z/ b# ~4 _3 [( S ^# z
8765:20210917:152607.354 server #16 started [task manager #1]
" c2 W4 v# g6 \ @; S" i 8772:20210917:152607.355 server #23 started [trapper #1]& |+ w, f0 m5 j3 p- O
8775:20210917:152607.357 server #26 started [trapper #4]% z: }. p# M |. q
8778:20210917:152607.360 server #29 started [alert manager #1]% F1 D4 ?$ a0 g/ L( h+ n
8771:20210917:152607.362 server #22 started [unreachable poller #1]
4 X0 P& V% y8 ?4 f5 J" Z$ L; d8 f* x+ z 8779:20210917:152607.363 server #30 started [preprocessing manager #1]
8 y8 U9 n& z' m& r 8777:20210917:152607.364 server #28 started [icmp pinger #1]5 r3 Q9 s, [- t, b" M1 X6 ]2 Q
8769:20210917:152607.364 server #20 started [poller #4]
; D* t( D n1 _* I# n. ~, _ 8768:20210917:152607.365 server #19 started [poller #3]
& W0 E% T5 C7 E. N x! ]1 o 8767:20210917:152607.368 server #18 started [poller #2]6 L9 ^; V# s) w5 ]; R+ ^
8774:20210917:152607.373 server #25 started [trapper #3]
! w+ e2 b9 L, ~4 C' H0 X 8773:20210917:152607.375 server #24 started [trapper #2]
( N- j6 G; o0 F m1 G 8776:20210917:152607.378 server #27 started [trapper #5]( D" c! r, F4 Y! Y5 r
8781:20210917:152608.065 server #32 started [preprocessing worker #2]6 y; O( `- g! S
8780:20210917:152608.163 server #31 started [preprocessing worker #1]
4 l. C J/ w$ | F# M( [* l 8782:20210917:152608.164 server #33 started [preprocessing worker #3]
6 F I7 @; S% W6 O- w+ ~0 ?3 y% {% Y
问题解决: j; M* J6 a+ g# n" d/ ^' H
) A0 v8 m. ?% o2 b! Z
|
|