PrintLogo

Monitoring Systems With Zabbix - Initial Configuration - Part 3




Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6

Start the server:

[root@srv-1 zabbix-1.1beta8]# cd /usr/local/bin
[root@srv-1 bin]# ./zabbix_server
[root@srv-1 bin]# cat /tmp/zabbix_server.log
027362:20060418:104022 Starting zabbix_server. ZABBIX 1.1beta8.
027364:20060418:104022 server #1 started [Alerter]
027366:20060418:104022 server #2 started [Timer]
027368:20060418:104022 server #3 started [ICMP pinger]
027373:20060418:104022 server #4 started [Escalator]
027375:20060418:104022 server #5 started [Poller. SNMP:OFF]
027377:20060418:104022 server #6 started [Trapper]
027380:20060418:104022 server #8 started [Trapper]
027382:20060418:104022 server #9 started [Trapper]
027384:20060418:104022 server #10 started [Trapper]
027362:20060418:104022 server #0 started [Housekeeper]
027362:20060418:104022 ZABBIX server is up.
027378:20060418:104022 server #7 started [Trapper]
[root@srv-1 bin]#

Do a simple test to see if the server is listening:

[root@srv-1 bin]# telnet localhost 10051
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
[root@srv-1 bin]# 

We moved our server source tree out of the way and re-extracted the tarball before we built the client. Run configure for the client:

[root@srv-1 zabbix-1.1beta8]# ./configure --enable-agent
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: Configuring  
.
.
.
config.status: executing depfiles commands
Configuration:
Detected OS:      linux-gnu
Install path:     /usr/local
Compiler:         gcc
Compiler flags:   -g -O2
Linker flags:     -lresolv -lnsl 
Compilation arch: linux
Enable server:    no
With database:    no
Enable agent:     yes
***********************************************************
*            Now run 'make'                               *
*                                                         *
*            Thank you for using ZABBIX!                  *
*              <http://www.zabbix.com>                    *
***********************************************************
[root@srv-1 zabbix-1.1beta8]#



Next



This article comes from NetAdminTools:
http://www.netadmintools.com/

The URL for this story is:
http://www.netadmintools.com/art528.html

Copyright 1997-2007 NetAdminTools.com. Read our Terms of Use.