This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
zabbix_logs [2025/11/08 08:51] val |
zabbix_logs [2025/11/09 08:41] (current) val |
||
|---|---|---|---|
| Line 30: | Line 30: | ||
| # cat /var/log/syslog | egrep -v 'DHCPACK|DHCPREQUEST|Wrote.*leases|sessionclean|ALLOWED|run-parts.*report' | # cat /var/log/syslog | egrep -v 'DHCPACK|DHCPREQUEST|Wrote.*leases|sessionclean|ALLOWED|run-parts.*report' | ||
| + | # cat /etc/zabbix/zabbix_agentd.conf | ||
| + | </code><code> | ||
| + | ... | ||
| + | ServerActive=server | ||
| + | ... | ||
| + | </code><code> | ||
| # usermod -aG adm zabbix | # usermod -aG adm zabbix | ||
| + | |||
| + | # hostname | ||
| + | abcd.corpX.un | ||
| # service zabbix-agent restart | # service zabbix-agent restart | ||
| + | |||
| + | Host: abcd.corpX.un | ||
| Item: | Item: | ||
| Line 54: | Line 64: | ||
| Severity: Warning | Severity: Warning | ||
| Expression: nodata(/Zabbix server/log[/var/log/syslog,rror],1m)=0 | Expression: nodata(/Zabbix server/log[/var/log/syslog,rror],1m)=0 | ||
| - | Expression: nodata(/Zabbix server/log[/var/log/syslog,(?i)error],1m)=0 | + | Expression: nodata(/Zabbix server/log[/var/log/syslog,(?i)error],1m)=0 |
| Expression: nodata(/Zabbix server/log[/var/log/syslog],1m)=0 | Expression: nodata(/Zabbix server/log[/var/log/syslog],1m)=0 | ||
| | | ||