Zabbix-6.2.5 Monitoring Server Host

一、Zabbix-6.2.5 Monitoring Server Host

1 安装客户端 zabbix_agent2,需要golang环境

###
tar -zxvf /opt/software/zabbix -C /opt && cd /opt/zabbix-625 && ll /opt/zabbix-625
###
dnf install -y gcc gcc-c++
./configure --prefix=/usr/local/zabbix-agent-625 --enable-agent2
make
make install

2 配置 zabbix_agent2 文件

[root@base ~]# egrep '^[a-Z]' /usr/local/zabbix-agent-625/etc/zabbix_agent2.conf
###
Server=10.0.1.71
ServerActive=127.0.0.1
Hostname=Zabbix server
ControlSocket=/tmp/agent.sock
Include=./zabbix_agent2.d/plugins.d/*.conf

3 注意:是zabbix_agent2.conf配置文件,不是zabbix_agentd.conf配置文件

配置 hosts

cat > /etc/hosts << EOF
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1 base
10.0.1.71 web01
10.0.1.72 web02
EOF

4 zabbix_agent2 帮助命令

[root@base zabbix-625]# /usr/local/zabbix-agent-625/sbin/zabbix_agent2 -h
Usage of /usr/local/zabbix-agent-625/sbin/zabbix_agent2:
  -R string
        Perform administrative functions (send 'help' for available commands) (1s timeout)
  -V    Print program version and exit (shorthand)
  -c string
        Path to the configuration file (shorthand) (default "/usr/local/zabbix-agent-625/etc/zabbix_agent2.conf")
  -config string
        Path to the configuration file (default "/usr/local/zabbix-agent-625/etc/zabbix_agent2.conf")
  -f    Run Zabbix agent in foreground (shorthand) (default true)
  -foreground
        Run Zabbix agent in foreground (default true)
  -h    Display this help message (shorthand)
  -help
        Display this help message
  -p    Print known items and exit (shorthand)
  -print
        Print known items and exit
  -t string
        Test specified item and exit (shorthand)
  -test string
        Test specified item and exit
  -v    Enable verbose output for metric testing or printing (shorthand)
  -verbose
        Enable verbose output for metric testing or printing
  -version
        Print program version and exit
### 
[root@base ~]# /usr/local/zabbix-agent-625/sbin/zabbix_agent2 -version
zabbix_agent2 (Zabbix) 6.2.5
Revision c6d01ae68d7 28 November 2022, compilation time: Dec  2 2022 14:48:07
Plugin support version 1.1

Copyright (C) 2022 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.
We use the library Eclipse Paho (eclipse/paho.mqtt.golang), which is
distributed under the terms of the Eclipse Distribution License 1.0 (The 3-Clause BSD License)
available at https://www.eclipse.org/org/documents/edl-v10.php

We use the library go-modbus (goburrow/modbus), which is
distributed under the terms of the 3-Clause BSD License
available at https://github.com/goburrow/modbus/blob/master/LICENSE

5 启动 zabbix_agent2

### -c 启动指定配置文件
### 退出:Ctrl + z
[root@base ~]# /usr/local/zabbix-agent-625/sbin/zabbix_agent2 -c /usr/local/zabbix-agent-625/etc/zabbix_agent2.conf
Starting Zabbix Agent 2 (6.2.5)
Zabbix Agent2 hostname: [Zabbix server]
Press Ctrl+C to exit.
^Z
[1]+  Stopped                 /usr/local/zabbix-agent-625/sbin/zabbix_agent2 -c /usr/local/zabbix-agent-625/etc/zabbix_agent2.conf

###
ps -ef |grep zabbix
### 
[root@base ~]# netstat -lntup |grep 10050
tcp6       0      0 :::10050                :::*                    LISTEN      1998/zabbix_agent2

6 在服务端执行调试命令

### 返回 主机名称
[root@web01 ~]# zabbix_get -s 10.0.1.12 -k system.hostname
base

7 查看客户端Status

二、自定义监控

默认的模块中没有满足需求的监控项,就需要自定义监控,来满足需求

使用命令取出来的内容就可以做自定义监控

1 查看自带/内置键值

查看代码
 ### 内置键值
[root@web02 ~]# zabbix_agent2 -p | awk '/^[a-z]+\./{print $1}'
agent.hostname
agent.ping
agent.variant
agent.version
system.localtime[utc]
system.run[echo
web.page.get[localhost,,80]
web.page.perf[localhost,,80]
web.page.regexp[localhost,,80,OK]
vfs.file.size[/etc/passwd]
vfs.file.time[/etc/passwd,modify]
vfs.file.exists[/etc/passwd]
vfs.file.contents[/etc/passwd]
vfs.file.regexp[/etc/passwd,root]
vfs.file.regmatch[/etc/passwd,root]
vfs.file.md5sum[/etc/passwd]
vfs.file.cksum[/etc/passwd]
vfs.file.owner[/etc/passwd]
vfs.file.permissions[/etc/passwd]
vfs.file.get[/etc/passwd]
vfs.dir.size[/var/log]
vfs.dir.count[/var/log]
vfs.dir.get[/var/log]
net.dns[,zabbix.com]
net.dns.record[,zabbix.com]
net.tcp.dns[,zabbix.com]
net.tcp.dns.query[,zabbix.com]
net.tcp.port[,80]
net.tcp.listen[80]
net.tcp.service[ssh,127.0.0.1,22]
net.tcp.service.perf[ssh,127.0.0.1,22]
net.tcp.socket.count[,80]
net.udp.listen[68]
net.udp.service[ntp,127.0.0.1,123]
net.udp.service.perf[ntp,127.0.0.1,123]
net.udp.socket.count[,53]
system.users.num
log.count[logfile]
logrt.count[logfile]
zabbix.stats[127.0.0.1,10051]
kernel.maxfiles
kernel.maxproc
kernel.openfiles
vfs.fs.size[/,free]
vfs.fs.inode[/,free]
vfs.fs.discovery
vfs.fs.get
vfs.dev.write[sda,operations]
net.if.in[lo,bytes]
net.if.out[lo,bytes]
net.if.total[lo,bytes]
net.if.collisions[lo]
net.if.discovery
vm.memory.size[total]
proc.cpu.util[inetd]
proc.num[inetd]
proc.mem[inetd]
system.cpu.switches
system.cpu.intr
system.cpu.util[all,user,avg1]
system.cpu.load[all,avg1]
system.cpu.num[online]
system.cpu.discovery
system.uname
system.hw.chassis
system.hw.cpu
system.hw.devices
system.hw.macaddr
system.sw.arch
system.sw.os
system.sw.packages
system.swap.size[all,free]
system.swap.in[all]
system.swap.out[all]
system.uptime
system.boottime
modbus.get[tcp://localhost]
system.hostname

2 创建自定义键值

### 
ss -lntup |grep -wc 22

### 键值语法格式
vim /usr/local/zabbix-agent-625/etc/zabbix_agent2.conf
281 # Mandatory: no
282 # Default:
283 # Include=
284
285 # Include=/usr/local/etc/zabbix_agent2.userparams.conf
286 # Include=/usr/local/etc/zabbix_agent2.conf.d/
287 # Include=/usr/local/etc/zabbix_agent2.conf.d/*.conf
288 Include=/usr/local/zabbix-agent-625/etc/zabbix_agent2.d/*.conf

319 ### Option: UserParameter
320 #       User-defined parameter to monitor. There can be several user-defined parameters.
321 #       Format: UserParameter=<key>,<shell command>
322 #       See 'zabbix_agentd' directory for examples.
323 #
324 # Mandatory: no
325 # Default:
326 # UserParameter=

490 # Include configuration files for plugins
491
492 Include=./zabbix_agent2.d/plugins.d/*.conf

### Include 和 wcerer.conf/wcerer.conf 存储位置要对应,这里有二种方法
cat > /usr/local/zabbix-agent-625/etc/zabbix_agent2.d/plugins.d/wcerer.conf << EOF
### UserParameter=键值key,命令或者脚本
UserParameter=wc.erer,ss -lntup |grep -wc 22
EOF
###
cat > /usr/local/zabbix-agent-625/etc/zabbix_agent2.d/wcer.conf << EOF
### UserParameter=键值key,命令或者脚本
UserParameter=wc.er,ss -lntup |grep -wc 22
EOF

### 调试命令 返回为:2
zabbix_get -s 10.0.1.72 -k wc.erer

3 在WEB页面增加键值

二、自定义触发器

触发器:trigger 本质使用监控项获取数据,与设置的条件进行比较,从而触发警报

三、自定义图形

 

X、One Step Success

[root@base zabbix-625]# ./configure --prefix=/usr/local/zabbix-agent-625 --enable-agent2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
configure: Configuring Zabbix 6.2.5
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking mtent.h usability... no
checking mtent.h presence... no
checking for mtent.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking for sys/socket.h... (cached) yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking for arpa/inet.h... (cached) yes
checking sys/vmmeter.h usability... no
checking sys/vmmeter.h presence... no
checking for sys/vmmeter.h... no
checking for strings.h... (cached) yes
checking vm/vm_param.h usability... no
checking vm/vm_param.h presence... no
checking for vm/vm_param.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for stdint.h... (cached) yes
checking mach/host_info.h usability... no
checking mach/host_info.h presence... no
checking for mach/host_info.h... no
checking mach/mach_host.h usability... no
checking mach/mach_host.h presence... no
checking for mach/mach_host.h... no
checking knlist.h usability... no
checking knlist.h presence... no
checking for knlist.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/var.h usability... no
checking sys/var.h presence... no
checking for sys/var.h... no
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking sys/disk.h usability... no
checking sys/disk.h presence... no
checking for sys/disk.h... no
checking sys/sched.h usability... no
checking sys/sched.h presence... no
checking for sys/sched.h... no
checking zone.h usability... no
checking zone.h presence... no
checking for zone.h... no
checking nlist.h usability... no
checking nlist.h presence... no
checking for nlist.h... no
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking linux/kernel.h usability... yes
checking linux/kernel.h presence... yes
checking for linux/kernel.h... yes
checking procinfo.h usability... no
checking procinfo.h presence... no
checking for procinfo.h... no
checking sys/dk.h usability... no
checking sys/dk.h presence... no
checking for sys/dk.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking pdh.h usability... no
checking pdh.h presence... no
checking for pdh.h... no
checking psapi.h usability... no
checking psapi.h presence... no
checking for psapi.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking Winldap.h usability... no
checking Winldap.h presence... no
checking for Winldap.h... no
checking Winber.h usability... no
checking Winber.h presence... no
checking for Winber.h... no
checking lber.h usability... no
checking lber.h presence... no
checking for lber.h... no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking for inttypes.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/protosw.h usability... no
checking sys/protosw.h presence... no
checking for sys/protosw.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for resolv.h... yes
checking for net/if.h... yes
checking for net/if_mib.h... no
checking whether compiler supports -Werror=cpp... yes
checking for sys/mount.h... yes
checking for sys/proc.h... no
checking for sys/sysctl.h... no
checking for sys/user.h... yes
checking for sys/swap.h... yes
checking for sys/ucontext.h... yes
checking for devstat.h... no
checking for linux/netlink.h... yes
checking linux/inet_diag.h usability... yes
checking linux/inet_diag.h presence... yes
checking for linux/inet_diag.h... yes
checking for libperfstat.h... no
checking for library containing socket... none required
checking for library containing kstat_open... no
checking for library containing gethostbyname... none required
checking for library containing clock_gettime... none required
checking for library containing dlopen... none required
checking for library containing perfstat_memory_total... no
checking for library containing devstat_getdevs... no
checking for library containing getdevs... no
checking for library containing backtrace_symbols... none required
checking for library containing jail_getname... no
checking for main in -lm... yes
checking for main in -lkvm... no
checking for DNS lookup functions... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for socklen_t... yes
checking for actual socklen_t parameter type in socket functions... socklen_t
checking for integer field name in union sigval of struct siginfo_t... sival_int
checking for res_ninit... yes
checking for res_ndestroy... no
checking for _res._u._ext.nsaddrs... yes
checking for _res._u._ext.ext... no
checking for _res._ext.ext.nsaddrs... no
checking for struct sockaddr_in6.sin6_len... no
checking for union semun... no
checking for struct swaptable in sys/swap.h... no
checking for struct sensordev in sys/sensors.h... no
checking for struct statvfs64 in sys/statvfs.h... no
checking for struct statfs64 in sys/statfs.h... no
checking for field ss_family in struct sockaddr_storage... yes
checking for field mem_unit in struct sysinfo... yes
checking for field freeswap in struct sysinfo... yes
checking for field totalswap in struct sysinfo... yes
checking for field totalram in struct sysinfo... yes
checking for field sharedram in struct sysinfo... yes
checking for field bufferram in struct sysinfo... yes
checking for field freeram in struct sysinfo... yes
checking for field uptime in struct sysinfo... yes
checking for field procs in struct sysinfo... yes
checking for field tm_gmtoff in struct tm... yes
checking for linker options --start-group/--end-group... yes
checking for '__thread' compiler support... yes
checking for field updates in struct vminfo_t... no
checking for function sysconf() in unistd.h... yes
checking for function initgroups()... yes
checking for functions seteuid() and setegid()... yes
checking for function setproctitle()... no
checking for function sysctlbyname()... no
checking for function sysctl (KERN_BOOTTIME)... no
checking for function sysctl (HW_NCPU)... no
checking for function sysctl (KERN_MAXFILES)... no
checking for function sysctl (KERN_MAXPROC)... no
checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no
checking for function clock_gettime in time.h... yes
checking for macro __va_copy() in stdarg.h... yes
checking for macro __VA_ARGS__... yes
checking return type of signal handlers... void
checking for getloadavg... yes
checking for hstrerror... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... yes
checking for tzset... yes
checking for unsetenv... yes
checking for sigqueue... yes
checking for round... yes
checking for /proc filesystem... yes
checking for file /proc/stat... yes
checking for file /proc/cpuinfo... yes
checking for file /proc/0/psinfo... no
checking for file /proc/loadavg... yes
checking for file /proc/net/dev... yes
checking for long long format... no
checking for -rdynamic linking option... yes
checking for libperfstat 5.2.0.40 fileset... no
checking for libperfstat 5.3.0.60 fileset... no
checking for architecture... linux (linux-gnu)
checking for the linux kernel version... unknown family (5.10.0-106.18.0.68.oe2209.x86_64)
checking size of void *... 8
checking for go... go
configure: using old pcre library by default
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libpcre support... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libpcre support... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for ICONV support... yes
checking for mkdir -p candidate... ok (/usr/bin/mkdir -p)
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating database/Makefile
config.status: creating database/mysql/Makefile
config.status: creating database/oracle/Makefile
config.status: creating database/postgresql/Makefile
config.status: creating database/sqlite3/Makefile
config.status: creating misc/Makefile
config.status: creating src/Makefile
config.status: creating src/go/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/zbxlog/Makefile
config.status: creating src/libs/zbxalgo/Makefile
config.status: creating src/libs/zbxshmem/Makefile
config.status: creating src/libs/zbxhash/Makefile
config.status: creating src/libs/zbxcrypto/Makefile
config.status: creating src/libs/zbxconf/Makefile
config.status: creating src/libs/zbxdbcache/Makefile
config.status: creating src/libs/zbxdbhigh/Makefile
config.status: creating src/libs/zbxgetopt/Makefile
config.status: creating src/libs/zbxmedia/Makefile
config.status: creating src/libs/zbxsysinfo/Makefile
config.status: creating src/libs/zbxcommon/Makefile
config.status: creating src/libs/zbxsysinfo/agent/Makefile
config.status: creating src/libs/zbxsysinfo/alias/Makefile
config.status: creating src/libs/zbxsysinfo/common/Makefile
config.status: creating src/libs/zbxsysinfo/simple/Makefile
config.status: creating src/libs/zbxsysinfo/linux/Makefile
config.status: creating src/libs/zbxsysinfo/aix/Makefile
config.status: creating src/libs/zbxsysinfo/freebsd/Makefile
config.status: creating src/libs/zbxsysinfo/hpux/Makefile
config.status: creating src/libs/zbxsysinfo/openbsd/Makefile
config.status: creating src/libs/zbxsysinfo/osx/Makefile
config.status: creating src/libs/zbxsysinfo/solaris/Makefile
config.status: creating src/libs/zbxsysinfo/osf/Makefile
config.status: creating src/libs/zbxsysinfo/netbsd/Makefile
config.status: creating src/libs/zbxsysinfo/unknown/Makefile
config.status: creating src/libs/zbxnix/Makefile
config.status: creating src/libs/zbxthreads/Makefile
config.status: creating src/libs/zbxmutexs/Makefile
config.status: creating src/libs/zbxcomms/Makefile
config.status: creating src/libs/zbxcommshigh/Makefile
config.status: creating src/libs/zbxdiscovery/Makefile
config.status: creating src/libs/zbxdb/Makefile
config.status: creating src/libs/zbxdbupgrade/Makefile
config.status: creating src/libs/zbxdbschema/Makefile
config.status: creating src/libs/zbxjson/Makefile
config.status: creating src/libs/zbxhttp/Makefile
config.status: creating src/libs/zbxserver/Makefile
config.status: creating src/libs/zbxicmpping/Makefile
config.status: creating src/libs/zbxeval/Makefile
config.status: creating src/libs/zbxserialize/Makefile
config.status: creating src/libs/zbxexec/Makefile
config.status: creating src/libs/zbxself/Makefile
config.status: creating src/libs/zbxmodules/Makefile
config.status: creating src/libs/zbxregexp/Makefile
config.status: creating src/libs/zbxtasks/Makefile
config.status: creating src/libs/zbxipcservice/Makefile
config.status: creating src/libs/zbxhistory/Makefile
config.status: creating src/libs/zbxcompress/Makefile
config.status: creating src/libs/zbxembed/Makefile
config.status: creating src/libs/zbxexport/Makefile
config.status: creating src/libs/zbxprometheus/Makefile
config.status: creating src/libs/zbxvault/Makefile
config.status: creating src/libs/zbxhashicorp/Makefile
config.status: creating src/libs/zbxcyberark/Makefile
config.status: creating src/libs/zbxkvs/Makefile
config.status: creating src/libs/zbxdiag/Makefile
config.status: creating src/libs/zbxtrends/Makefile
config.status: creating src/libs/zbxavailability/Makefile
config.status: creating src/libs/zbxaudit/Makefile
config.status: creating src/libs/zbxservice/Makefile
config.status: creating src/libs/zbxxml/Makefile
config.status: creating src/libs/zbxha/Makefile
config.status: creating src/libs/zbxrtc/Makefile
config.status: creating src/libs/zbxvariant/Makefile
config.status: creating src/zabbix_agent/Makefile
config.status: creating src/zabbix_agent/logfiles/Makefile
config.status: creating src/zabbix_get/Makefile
config.status: creating src/zabbix_js/Makefile
config.status: creating src/zabbix_sender/Makefile
config.status: creating src/zabbix_server/Makefile
config.status: creating src/zabbix_server/alerter/Makefile
config.status: creating src/zabbix_server/dbsyncer/Makefile
config.status: creating src/zabbix_server/dbconfig/Makefile
config.status: creating src/zabbix_server/diag/Makefile
config.status: creating src/zabbix_server/discoverer/Makefile
config.status: creating src/zabbix_server/ha/Makefile
config.status: creating src/zabbix_server/housekeeper/Makefile
config.status: creating src/zabbix_server/httppoller/Makefile
config.status: creating src/zabbix_server/pinger/Makefile
config.status: creating src/zabbix_server/poller/Makefile
config.status: creating src/zabbix_server/snmptrapper/Makefile
config.status: creating src/zabbix_server/timer/Makefile
config.status: creating src/zabbix_server/trapper/Makefile
config.status: creating src/zabbix_server/escalator/Makefile
config.status: creating src/zabbix_server/proxypoller/Makefile
config.status: creating src/zabbix_server/selfmon/Makefile
config.status: creating src/zabbix_server/stats/Makefile
config.status: creating src/zabbix_server/vmware/Makefile
config.status: creating src/zabbix_server/taskmanager/Makefile
config.status: creating src/zabbix_server/ipmi/Makefile
config.status: creating src/zabbix_server/odbc/Makefile
config.status: creating src/zabbix_server/scripts/Makefile
config.status: creating src/zabbix_server/preprocessor/Makefile
config.status: creating src/zabbix_server/availability/Makefile
config.status: creating src/zabbix_server/service/Makefile
config.status: creating src/zabbix_server/lld/Makefile
config.status: creating src/zabbix_server/reporter/Makefile
config.status: creating src/zabbix_proxy/Makefile
config.status: creating src/zabbix_proxy/diag/Makefile
config.status: creating src/zabbix_proxy/heart/Makefile
config.status: creating src/zabbix_proxy/housekeeper/Makefile
config.status: creating src/zabbix_proxy/proxyconfig/Makefile
config.status: creating src/zabbix_proxy/datasender/Makefile
config.status: creating src/zabbix_proxy/stats/Makefile
config.status: creating src/zabbix_proxy/taskmanager/Makefile
config.status: creating src/zabbix_java/Makefile
config.status: creating man/Makefile
config.status: creating include/common/config.h
config.status: executing depfiles commands


Configuration:

  Detected OS:           linux-gnu
  Install path:          /usr/local/zabbix-agent-625
  Compilation arch:      linux

  Compiler:              cc
  Compiler flags:         -g -O2

  Library-specific flags:

  Enable server:         no

  Enable proxy:          no

  Enable agent:          no

  Enable agent 2:        yes

  Enable web service:    no

  Enable Java gateway:   no

  LDAP support:          no
  IPv6 support:          no

***********************************************************
*            Now run 'make install'                       *
*                                                         *
*            Thank you for using Zabbix!                  *
*              <http://www.zabbix.com>                    *
***********************************************************

 

Y、Error message

 

Z、Related Links

Source Code Installation Zabbix-6.2.5 on openEuler:https://www.cnblogs.com/huaxiayuyi/p/16940256.html

posted @ 2022-12-03 01:21  娇小赤雅  阅读(264)  评论(0编辑  收藏  举报