So I completely start from scratch, but I dont include the GD the first time.
So I waste 20 hours and after 8 more hours of trying to get Zabbix to work, 28 hours in, I wipe the server clean. Then I try a simpler approach, the Zabbix-SME, but 6 hours in, find out that does not work either.
So I completely rebuild the server entirely from scratch again. (wiped partitions, new os) everything) 3 hours later, Right back where I was before the first time.
I am at the HOSTS, and configure that. I am pretty sure I am configuring HOSTS wrong. The choices in the HOSTS form are just too vague.
HOST (what is HOST? IP? HOSTNAME?, Some text i can put in?)
Groups (what are groups?)
New Group (whats that? make a new zabbix group, why? I dont know what groups are!)
Use IP Address ( I assume the IP address of the Zabbix client)
Port (I assume the TCPIP port the zabbix client is configured to use)
Status (I assume I leave it on monitored, (Got no clue)
Use templates of this host (What the heck are these? These really mess it up)
Add, (I assume Add this record to the list above)
Fine..so I got 2 hosts that are GREEN and MONITORED...so I go over the ITEMS tab and things really start to get vague.
Description (I can type anything in here?)
Host (What host? )
Type (all clients are configured to use Zabbix Agentd, but its not working)
Key (?what the heck is this? A snmp key? I though Zabbix Agentd handled this)
Units (god only knows)
Use Multiplier (I take a 7, on the dont pass line)
Update Interval (not clue again)
Keep Histoery (no clue again)
Keep Trends (no clue)
Status (leave on monitored I assume)
Type of information (no clue, leave on numeric)
Store Value (again no clue)
Add or Add All Hosts? (Again no clue)
As for the dropdown menus..that only makes it more confusing.
IS THERE ANY PICTURES AROUND THAT SHOW HOW TO GO FROM THE INITIAL LOGIN SCREEN, THEN TO PROPERLY CONFIGURE THE HOSTS, THEN TO THE ITEMS? THE DESCRIPTIONS IN THE MANUAL ARE TOO VAGUE FOR ME.
I wrote down the procedures I took to install
Here they are almost line for line...
I used a RHEL4, but this will work for almost any Fedora or
Redhat line I assume.
Sorry for the rant, but you spend this amount of time trying to get this to work, and you'd be upset too.
All i want is monitor my linux clients with the agentd process, and my Windows clients with the ZabbixW32client. and monitor stuff like free diskspace, free inodes, used diskapce, processes, cpu load etc.
Any assistance would be appreciated.
RHEL4
Apache 2.053.tar.gz
Zabbix 1.1 Alpha 7
MySQL 4.1.10a.tar.gz
net-snmp-5.2.1.tar.gz
php-4.3.10.tar.gz
samba-3.012.tar.gz
zlib-1.2.2.tar.gz
gd 2.033.ta.gz
mkdir /scripts
mkdir /packages
download all your source.tar.gz into /packages
Apache 2.0.53 installation
==============================
mkdir -p /usr/local/apache
cd /packages
gunzip httpd-2.0.53
tar -xvf httpd.2.0.53.tar
cd http-2.053
./configure --prefix=/usr/local/apache --enable-modules=most --enable-module=so
make
make install
cd /usr/local/apache/bin
cp apachectl /scripts
/scripts/apachectl start
/scripts/apachectl stop
mysql-max-4.1 installation
==============================
gunzip mysql-max.xxxxx.tar.gz
tar -xvf mysql-max.xxx.tar
mv mysql-max.xxxxx mysql
mv mysql /usr/local
cd /usr/local/mysql
groupadd mysql
useradd -g mysql mysql
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data
chgrp -R mysql .
bin/mysqld_safe --user=mysql &
cd support-files
cp mysql.server /scripts
samba 3.0.xx installation
==========================
cd /packages
gunzip samba-3.0.12.tar.gz
tar -xvf samba-3.0.12.tar
cd samba-3.0.12
mkdir -p /usr/local/samba
cd source
./configure --prefix=/usr/local/samba
make
make install
net-snmp 5.21 installation
===========================
cd /packages
gunzip net-snmp-5.2.1.tar.gz
tar -xvf net-snmp-5.2.1.tar
cd net-snmp-5.2.1
./configure --with-perl-modules
make
make install
choose SNMP v3 and all defaults
php-gd-2.033 installation
==========================
cd /packages
gunzip gd-2.0.33.tar.gz
tar -xvf gd-2.033.tar
cd gd-2.0.33
./configure
make
make install
zlib 1.22 installation
=============================
cd /packages
gunzip zlib-1.2.2.tar.gz
tar -xvf zlib-1.2.2.tar
cd zlib-1.2.2
./configure
make
make install
php 4.3.10 installation
==========================
cd /packages
mkdir -p /usr/local/php
gunzip php-4.3.10.tar.gz
tar -xvf php-4.3.10.tar
cd php-4.3.10
./configure --prefix=/usr/local/php --with-gd --with-apxs2=/usr/local/apache/bin/apxs --with-mysql --with-zlib-dir=/usr/local/lib/libz
make
make install
cp php.ini-dist /usr/local/lib/php.ini
make these changes in /usr/local/apache/conf/httpd.conf
verify: "LoadModule php4_module libexec/libphp4.so (or similar is in /usr/local/apache/conf/httpd.conf)
verify: DirectoryIndex index.php index.html index.htm
verify: AddType application/x-httpd-php .php
verify: AddType application/x-httpd-php-source .phps
/scripts/apachectl stop
/scripts/apachectl stop
/scripts/apachectl start
cd /usr/local/apache/htdocs
pwd (confirm it is /usr/local/apache/htdocs)
rm index* (delete all files that start with index)
vi index.php
and create index.php with the text as shown below...
<html>
<head><title>Zabbix</title></head>
<body>
<h2>Zabbix</h2>
<? phpinfo() ?>
</body>
</html>
http://localhost (verify support for "gd" and "mysql" and "zlib")
post-installation
==========================
cd /etc/rc.d
vi rc.local
add: /scripts/apachectl start
add: /scripts/mysql.server start
add: /usr/local/samba/sbin/nmbd
add: /usr/local/samba/sbin/smbd
updatedb
reboot the server
http://localhost (or the servers ip)
and verify that
Apache is running, GD support, PHP, Zlib, and Mysql are running.
ZABBIX INSTALL
==========================
useradd zabbix
download the latest zabbix.tar.gz and mv into /packages
cd /packages
gunzip zabbix-1.1.alpha7
/usr/local/mysql/bin/mysql -u root -p (password is blank for now, press enter)
create database zabbix;
quit;
cd create/mysql
cat schema.sql | /usr/local/mysql/bin/mysql -u root -p zabbix (press enter for password)
cd ../data
cat data.sql | /usr/local/mysql/bin/mysql -u root -p zabbix (press enter for password)
cd /packages/zabbix-1.1.alpha7
./configure --with-mysql=/usr/local/mysql --with-net-snmp=/packages/net-snmp-5.2.1
make
cd /packages/zabbix-1.1alpha7/bin
cp * /usr/local/bin
cd /packages/zabbix-1.1alpha7/misc/conf
mkdir -p /etc/zabbix
cp * /etc/zabbix
cd /usr/local/bin
./zabbix_server
ps ax |grep zabbix (confirm 10 instances of zabbix are running)
mkdir -p /usr/local/apache/htdocs/zabbix
/bin/cp -R frontends/php/* /usr/local/apache/htdocs/zabbix
http://localhost/zabbix (you better get the default zabbix login page)
login with "admin" no password
click on Configuration>Users
add an account using your name (add "read/write" and "add")
At this point...
I can get GREEN MONITORED for my clients, but I cannot configure any item parameters.
Have not included the exacly client installation instructions...but I installed
ZabbixW32.exe a a Windows 2000 box and zabbix_agentd onto a linux box.
Both are running the agentd and showing up in task manager and ps.
I only had to change the Server IP to 192.168.1.12 in agentd.conf in both clients. Not sure if that was all i needed to do.
So I waste 20 hours and after 8 more hours of trying to get Zabbix to work, 28 hours in, I wipe the server clean. Then I try a simpler approach, the Zabbix-SME, but 6 hours in, find out that does not work either.
So I completely rebuild the server entirely from scratch again. (wiped partitions, new os) everything) 3 hours later, Right back where I was before the first time.
I am at the HOSTS, and configure that. I am pretty sure I am configuring HOSTS wrong. The choices in the HOSTS form are just too vague.
HOST (what is HOST? IP? HOSTNAME?, Some text i can put in?)
Groups (what are groups?)
New Group (whats that? make a new zabbix group, why? I dont know what groups are!)
Use IP Address ( I assume the IP address of the Zabbix client)
Port (I assume the TCPIP port the zabbix client is configured to use)
Status (I assume I leave it on monitored, (Got no clue)
Use templates of this host (What the heck are these? These really mess it up)
Add, (I assume Add this record to the list above)
Fine..so I got 2 hosts that are GREEN and MONITORED...so I go over the ITEMS tab and things really start to get vague.
Description (I can type anything in here?)
Host (What host? )
Type (all clients are configured to use Zabbix Agentd, but its not working)
Key (?what the heck is this? A snmp key? I though Zabbix Agentd handled this)
Units (god only knows)
Use Multiplier (I take a 7, on the dont pass line)
Update Interval (not clue again)
Keep Histoery (no clue again)
Keep Trends (no clue)
Status (leave on monitored I assume)
Type of information (no clue, leave on numeric)
Store Value (again no clue)
Add or Add All Hosts? (Again no clue)
As for the dropdown menus..that only makes it more confusing.
IS THERE ANY PICTURES AROUND THAT SHOW HOW TO GO FROM THE INITIAL LOGIN SCREEN, THEN TO PROPERLY CONFIGURE THE HOSTS, THEN TO THE ITEMS? THE DESCRIPTIONS IN THE MANUAL ARE TOO VAGUE FOR ME.
I wrote down the procedures I took to install
Here they are almost line for line...
I used a RHEL4, but this will work for almost any Fedora or
Redhat line I assume.
Sorry for the rant, but you spend this amount of time trying to get this to work, and you'd be upset too.
All i want is monitor my linux clients with the agentd process, and my Windows clients with the ZabbixW32client. and monitor stuff like free diskspace, free inodes, used diskapce, processes, cpu load etc.
Any assistance would be appreciated.
RHEL4
Apache 2.053.tar.gz
Zabbix 1.1 Alpha 7
MySQL 4.1.10a.tar.gz
net-snmp-5.2.1.tar.gz
php-4.3.10.tar.gz
samba-3.012.tar.gz
zlib-1.2.2.tar.gz
gd 2.033.ta.gz
mkdir /scripts
mkdir /packages
download all your source.tar.gz into /packages
Apache 2.0.53 installation
==============================
mkdir -p /usr/local/apache
cd /packages
gunzip httpd-2.0.53
tar -xvf httpd.2.0.53.tar
cd http-2.053
./configure --prefix=/usr/local/apache --enable-modules=most --enable-module=so
make
make install
cd /usr/local/apache/bin
cp apachectl /scripts
/scripts/apachectl start
/scripts/apachectl stop
mysql-max-4.1 installation
==============================
gunzip mysql-max.xxxxx.tar.gz
tar -xvf mysql-max.xxx.tar
mv mysql-max.xxxxx mysql
mv mysql /usr/local
cd /usr/local/mysql
groupadd mysql
useradd -g mysql mysql
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data
chgrp -R mysql .
bin/mysqld_safe --user=mysql &
cd support-files
cp mysql.server /scripts
samba 3.0.xx installation
==========================
cd /packages
gunzip samba-3.0.12.tar.gz
tar -xvf samba-3.0.12.tar
cd samba-3.0.12
mkdir -p /usr/local/samba
cd source
./configure --prefix=/usr/local/samba
make
make install
net-snmp 5.21 installation
===========================
cd /packages
gunzip net-snmp-5.2.1.tar.gz
tar -xvf net-snmp-5.2.1.tar
cd net-snmp-5.2.1
./configure --with-perl-modules
make
make install
choose SNMP v3 and all defaults
php-gd-2.033 installation
==========================
cd /packages
gunzip gd-2.0.33.tar.gz
tar -xvf gd-2.033.tar
cd gd-2.0.33
./configure
make
make install
zlib 1.22 installation
=============================
cd /packages
gunzip zlib-1.2.2.tar.gz
tar -xvf zlib-1.2.2.tar
cd zlib-1.2.2
./configure
make
make install
php 4.3.10 installation
==========================
cd /packages
mkdir -p /usr/local/php
gunzip php-4.3.10.tar.gz
tar -xvf php-4.3.10.tar
cd php-4.3.10
./configure --prefix=/usr/local/php --with-gd --with-apxs2=/usr/local/apache/bin/apxs --with-mysql --with-zlib-dir=/usr/local/lib/libz
make
make install
cp php.ini-dist /usr/local/lib/php.ini
make these changes in /usr/local/apache/conf/httpd.conf
verify: "LoadModule php4_module libexec/libphp4.so (or similar is in /usr/local/apache/conf/httpd.conf)
verify: DirectoryIndex index.php index.html index.htm
verify: AddType application/x-httpd-php .php
verify: AddType application/x-httpd-php-source .phps
/scripts/apachectl stop
/scripts/apachectl stop
/scripts/apachectl start
cd /usr/local/apache/htdocs
pwd (confirm it is /usr/local/apache/htdocs)
rm index* (delete all files that start with index)
vi index.php
and create index.php with the text as shown below...
<html>
<head><title>Zabbix</title></head>
<body>
<h2>Zabbix</h2>
<? phpinfo() ?>
</body>
</html>
http://localhost (verify support for "gd" and "mysql" and "zlib")
post-installation
==========================
cd /etc/rc.d
vi rc.local
add: /scripts/apachectl start
add: /scripts/mysql.server start
add: /usr/local/samba/sbin/nmbd
add: /usr/local/samba/sbin/smbd
updatedb
reboot the server
http://localhost (or the servers ip)
and verify that
Apache is running, GD support, PHP, Zlib, and Mysql are running.
ZABBIX INSTALL
==========================
useradd zabbix
download the latest zabbix.tar.gz and mv into /packages
cd /packages
gunzip zabbix-1.1.alpha7
/usr/local/mysql/bin/mysql -u root -p (password is blank for now, press enter)
create database zabbix;
quit;
cd create/mysql
cat schema.sql | /usr/local/mysql/bin/mysql -u root -p zabbix (press enter for password)
cd ../data
cat data.sql | /usr/local/mysql/bin/mysql -u root -p zabbix (press enter for password)
cd /packages/zabbix-1.1.alpha7
./configure --with-mysql=/usr/local/mysql --with-net-snmp=/packages/net-snmp-5.2.1
make
cd /packages/zabbix-1.1alpha7/bin
cp * /usr/local/bin
cd /packages/zabbix-1.1alpha7/misc/conf
mkdir -p /etc/zabbix
cp * /etc/zabbix
cd /usr/local/bin
./zabbix_server
ps ax |grep zabbix (confirm 10 instances of zabbix are running)
mkdir -p /usr/local/apache/htdocs/zabbix
/bin/cp -R frontends/php/* /usr/local/apache/htdocs/zabbix
http://localhost/zabbix (you better get the default zabbix login page)
login with "admin" no password
click on Configuration>Users
add an account using your name (add "read/write" and "add")
At this point...
I can get GREEN MONITORED for my clients, but I cannot configure any item parameters.
Have not included the exacly client installation instructions...but I installed
ZabbixW32.exe a a Windows 2000 box and zabbix_agentd onto a linux box.
Both are running the agentd and showing up in task manager and ps.
I only had to change the Server IP to 192.168.1.12 in agentd.conf in both clients. Not sure if that was all i needed to do.
of hosts... I have a group for "Production" and "Development" systems.
)
Comment