Zabbix Tutorials

Zabbix Monitor Postfix queue:

UserParameter=postfix.queue,postqueue -p | find /var/spool/postfix/{deferred,active,maildrop}/ -type f | wc -l

[Note: This will have permission issues ] The following one is even better:

UserParameter=postfix.queue,mailq | grep -v "Mail queue is empty" | grep -c '[1]'

Check if the User Parameter works as expected:

zabbix_get -s 127.0.0.1 -p 10050 -k key.name

eg.

zabbix_get -s zabbix.client1.com-p 10050 -k "mysql.processes"

Remove Huge Spikes:

Find and delete data from history_uint table.

General Troubleshooting:

No active checks on server: host [Zabbix server] not found

This is caused if the hostname doesnot match the name in /etc/zabbix/zabbix_agentd.conf


  1. 0-9A-Z ↩︎