View Full Version : Zabbix on CentOS howto
I just installed an Zabbix on CentOS and wrote this '"howto" while I did. It's mainly to document the process for my coworkers, but I'll post it here in case anyone else can benefit.
http://knowledge.twocell.com/index.php?title=Installing_Zabbix_on_CentOS/RHEL_w/MYSQL
It is a wiki, so feel free to edit and improve ...
Nice work. I'm using SuSE OS but that is really a good idea. :)
rushadirani
20-09-2010, 02:34
Hi there,
The link doesnt work anymore. I am setting up Zabbix on a centos machine and it would be very helpful to have your notes.
Thanks in advance.
Hi there,
The link doesnt work anymore. I am setting up Zabbix on a centos machine and it would be very helpful to have your notes.
Thanks in advance.
The link is in fact broken, I got php errors there... Anyhow, since those notes are no longer available, I must say that CentOS is in fact a Linux distribution. You should simply follow Zabbix` manual for setup and in case of issues give searching the forums here a good try, I assure you there's a lot covered here.
rushadirani
21-09-2010, 04:30
I followed the info on this website (http://robinbowes.com/article.php/20080730161131557?query=zabbix+on+centos)
But then I cannot log into the web page on my local machine which is http://127.0.0.1/zabbix/index.php
I had a look at the mysql database in the zabbix database is saw the following int he users table. If anyone else has the same hasshed password, can you please tell me what it is.
mysql> select * from users;
+--------+-------+---------+---------------+----------------------------------+-----+------------+-------+---------+------+
| userid | alias | name | surname | passwd | url | autologout | lang | refresh | type |
+--------+-------+---------+---------------+----------------------------------+-----+------------+-------+---------+------+
| 1 | Admin | Zabbix | Administrator | d41d8cd98f00b204e9800998ecf8427e | | 900 | en_gb | 30 | 3 |
| 2 | guest | Default | User | d41d8cd98f00b204e9800998ecf8427e | | 900 | en_gb | 30 | 1 |
+--------+-------+---------+---------------+----------------------------------+-----+------------+-------+---------+------+
2 rows in set (0.00 sec)
I had a look at the mysql database in the zabbix database is saw the following int he users table. If anyone else has the same hasshed password, can you please tell me what it is.I haven't installed zabbix, but I recognize that md5sum.
% echo -n '' | md5sum
d41d8cd98f00b204e9800998ecf8427e -
that's an md5sum of an empty string, so I assume that means that the password is empty.
nelsonab
23-12-2010, 14:16
Installation on Red Hat derived OS's is a lot easier these days. I'll try and write something up. Basically it's a matter of adding the Fedora EPEL repository, doing a "yum search zabbix" and installing the zabbix packages you need/want. I forget where it is but you will need to follow the db set up steps from the documentation. If you want the Web GUI to write the configuration file you will need SELinux to be in permissive mode as the label with which Apache runs is not allowed to write to it's webroot directory unless you enable an SELinux boolean. After that it's smooth sailing. Upgrades are equally straight forward... service zabbix-server stop; yum upgrade zabbix-server; <apply db patch if needed>; service zabbix-server start.