报错如下: [root@master scripts]# /usr/local/zabbix/bin/zabbix_get -s 127.0.0.1 -k web.site.code[www.baidu.com] timeout while executing a shell script 解决: vim zabbix_server.conf 中调整如下超时时间即可(再重启server) ### Option: Timeout # Specifies how long we wait
#!/bin/bash #this script is used to get tcp and udp connetion status #tcp status metric=$ tmp_file=/tmp/tcp_status.txt /usr/sbin/ss -ant | awk '{++S[$1]};END {for(a in S) print a, S[a]}' > $tmp_file case $metric in closed) output=$(awk '/CLOSED/{prin
#启动邮箱服务 systemctl start postfix.service #配置用户的邮箱发送邮件 vim /etc/mail.rc set from="xxx@xxx.com" set smtp="smtps://smtp.exmail.qq.com:465" set smtp-auth-user="xxx@xxx.com" set smtp-auth-password="xxxxxx" set smtp-auth=l
zabbix报错 https://www.cnblogs.com/losbyday/category/876878.html作者总结的很全棒 1.在启动zabbix-agent 时系统日志输出 PID file /run/zabbix/zabbix_agentd.pid not readable (yet?) after star zabbix-agent.service never wrote its PID file. Failing 重启zabbix-agent服务依旧不能正常启动,查看/