Contents
Unofficial Zabbix FAQ
Welcome to the unofficial zabbix FAQ. Please try to keep things in structure and add a lot
Have fun.
Installation
UNIX
- Question:
- How to compile Serverpart of zabbix ?
- --with-mysql or --with-pgsql. --with-net-snmp is optional.
- Problem Indicator:
checking for gcc... no checking for cc... cc
make sure PATH includes gcc (echo $PATH, Look for where you're GCC / CC compiler is located in the path string, if not export/setenv PATH=$PATH:/path/to/gcc. Otherwise you don't have GCC installed.
- Problem Indicator:
libmysqlclient.so, not found
- check if ldconfig referce to your mysql lib dir. If necessary add it to /etc/ld.so.conf and run ldconfig after you modified it.
- Problem Indicator:
Compile error when using make on Solaris.
- Use the gmake package to compile not make.
General behavior
- Problem Indicator:
Images cannot be displayed. Just small .png icon appears.
- Compile php with gd support.
Config
Alerting
- Question:
- is there an example sms script ?
another example script is located here /SmsScriptExample
How to create WinPopUps as Alerts
Little example Script from sf forum /WinPopUpExample
- Problem Indicator:
custom script aint get executed.
make sure AlertScriptsPath in zabbix_suckerd.conf is directed to your custom scripts diretory.
Hosts
- Question:
- After adding a host it becomes unreachable. zabbix is running on both sides.
- Another application is using port 10000 (e.g. webmin, netbackup). Run netstat -a or sockstat -4 depending on your os to see what is listening on port 10000. As an solution u may use another port in zabbix_agentd.conf as in gui (Hosts) also. After changing and restarting zabbix_agentd, verify zabbix is listening by telnet to port 10000.
Server, in zabbix_agentd.conf must be the zabbix_suckerd servers ip.
- A Firewall may avoid connecting to server. make sure suckerd server can connect through the firewall.
Items
- Problem Indicator:
icmpping becomes unsupported
- icmpping needs to be installed.
compare FpingLocation from zabbix_suckerd.conf with fping location in system.
- make sure fping is executable for user zabbix.
Triggers
- General Note:
Example triggers are found here http://www.zabbix.com/manual_config_triggers.php paste your expressions below for enhancement.
Performance issues
- Hint:
- Zabbix Will run better is you compile it as static, i am currently monitoring about 700 servers and adding 30 a day, so far so good.