Network Monitoring with Zabbix
Network Monitoring With Zabbix
|
Server=127.0.0.1 |
Edit /etc/zabbix/zabbix_server.conf:
vi /etc/zabbix/zabbix_server.conf
For small sites this default file will do, however if you are into tweaking your config for your 10+ hosts site, this is the place.
Change this:
# Database password |
Start the server :
su - zabbix
zabbix_server
exit
Start the client:
su - zabbix
zabbix_agentd
exit
6 - Configure web interface
Edit frontends/php/include/db.inc.php:
$DB_TYPE ="MYSQL"; |
mkdir /home/zabbix/public_html
cp -R frontends/php/* /home/zabbix/public_html/
cd ../public_html && chown -R zabbix.zabbix .
Edit /etc/apache/httpd.conf:
vi /etc/apache/httpd.conf
Make this work:
<Directory /home/*/public_html> |
/etc/init.d/apache restart
Setup of an Agent
http://prdownloads.sourceforge.net/zabbix/zabbix-1.1beta8.tar.gz?download
1 - Make the zabbix user and group
groupadd zabbix
useradd -c 'Zabbix' -d /home/zabbix -g zabbix -s /bin/bash zabbix
mkdir /home/zabbix
chown -R zabbix.zabbix /home/zabbix
2 - Untar the sources
cd /home/zabbix
tar zxvpf zabbix-1.1beta8.tar.gz
mv zabbix-1.1beta8 zabbix
cd zabbix
chown -R zabbix.zabbix .
su - zabbix
3 - Configure compile and install the agent
./configure --prefix=/usr --with-mysql --with-net-snmp --enable-agent
make
su
make install
exit
mkdir /etc/zabbix
cp misc/conf/zabbix_agentd.conf /etc/zabbix/
Edit /etc/zabbix/zabbix_agentd.conf:
vi /etc/zabbix/zabbix_agentd.conf
Make sure that the Server parameter points to the server address:
Server=xxx.xxx.xxx.xxx |
4 - Prepare the rest of the system
Edit /etc/services:
vi /etc/services
Add:
zabbix_agent 10050/tcp # Zabbix ports |
5 - Start the agent
su - zabbix
zabbix_agentd
exit
What's next ?
Now point your browser to:
http://www.example.com/~zabbix
Log in with username: Admin
No Password
First go to the tab Configuration and then Hosts.
Now create a host-group, see that you can give it some templates, e.g: Application.MySQL, Host.SNMP, Host.Standalone, Host.Unix.
Then some hosts:
Select your host-group and use Link with Template Host.Unix
Now a lot of triggers are imported and the game begins.
Go to the monitoring tab and watch the latest values roll in.
Here you can really knock your self out.
This howto intended to show you how to install this mother. Configuring the monitoring functions is a whole other ballgame.
For now I leave you here with some pointers to documentation
http://www.zabbix.com/documentation.php
http://sourceforge.net/projects/zabbix
http://www.google.com/search?q=zabbix
Changelog
2006-03-29 Updated to version beta8
![]() | Please do not use the comment function to ask for help! If you need help, please use our forum. Comments will be published after administrator approval. |
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com







Recent comments
8 hours 22 min ago
9 hours 51 min ago
13 hours 25 min ago
16 hours 18 min ago
19 hours 16 min ago
19 hours 57 min ago
20 hours 12 min ago
21 hours 11 min ago
22 hours 16 min ago
22 hours 50 min ago