The \0 escape sequence is replaced with the matched part of text (from the first character where match begins until the character where match ends) while an \N (where N=1...9) escape sequence is replaced with Nth matched group (or an empty string if the N exceeds the number of ...
ip - the IP address of DNS server (leave empty for the default DNS server, ignored on Windows unless using Zabbix agent 2); name - the DNS name to query; type - the record type to be queried (default is SOA); timeout (ignored on Windows unless using Zabbix agent 2) - the time...
#!/bin/bash Time=`date -d "yesterday" +%F` ##取昨天的年月日 /usr/bin/mysqldump -uzabbix -pzabbix zabbix > zabbix_${Time}.sql ##数据库的密码为空,脚本反而不能执行 Backupdir=/var/lib/backup_mysql_zabbix/ if [ ! -d $Backupdir ];then mkdir $Backupdir fi tar -zcf /var/lib/bac...
Play sound表示播放声音,默认只播放一次 这里声音报警有三个选项,第一个是只发一次声音;第二个是每十秒钟发一次;第三个是Message timeout的间隔时间来进行报警的。 6 管理用户和组权限 首先登录zabbix服务端的数据库,里面有一个zabbix的数据库 [root@server ~]# mysql -uroot -p1 mysql> show databases; +--...
ZBX-21221Increased the character limit of task_result.infoInstallation ZBX-21696Fixed Windows Zabbix agent 2 Unicode path support for log* itemsAgent ZBX-21872Fixed VMware HV missing multipath data for some datastoresProxyServer ZBX-21903Fixed Zabbix agent 2 timeout behavior for net.tcp.port itemAg...
试图连接MySQL服务器但没有成功的次数,当有大量链接连接不上mysql的时候数值激增,主要原因:没有授权或者密码不对,一般错误日志会有改提示(access denied for ‘user’@‘host’) 2、连接数满了,一般错误包含(too many cononection) 3、超过了链接时间限制,主要有这个参数控制(connect_timeout),mysql默认是10s,基...
| task_remote_command_result | | timeperiods | | trends | | trends_uint | | trigger_depends | | trigger_discovery | | trigger_tag | | triggers | | users | | users_groups | | usrgrp | | valuemaps | | widget | | widget_field | ...
publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/Users/lucas/.ansible/cp/9533ba4d4c localhost '/bin/sh -c '"'"'rm -f -r /home/lucas/.ansible/tmp/ansible-tmp-1641272906.19573-89276-206089095450568/ > /dev/null 2>&1 && sleep 0'"'"'' <localhost> (0, b...
I'm using Docker-Compose environment with some other containers already working... the part of the Zabbix is: mysql_zabbix: image: mysql:5.7.23 container_name: mysql_zabbix restart: always environment: - MYSQL_ROOT_PASSWORD= - MYSQL_DATABASE=zabbix ...
while [ ! "$(psql -h ${DB_SERVER_HOST} -p ${DB_SERVER_PORT} -U ${DB_SERVER_ROOT_USER} -d ${DB_SERVER_DBNAME} -l -q 2>/dev/null)" ]; do echo "*** PostgreSQL server is not available. Waiting $WAIT_TIMEOUT seconds..." sleep $WAIT_TIMEOUT done unset PGPASSWORD ...