Hi,
I've successfully compiled zabbix 1.4.2 under CentOS 5 and installed it on the same system as a server and agent working as a VPS under OpenVZ. I can't seem to see any data comming in from the server within the MySQL client. These are my conf files:
SERVER:
NodeID=1
StartPollers=5
StartPollersUnreachable=1
StartTrappers=5
StartPingers=1
StartDiscoverers=1
StartHTTPPollers=1
ListenPort=10051
#ListenIP=127.0.0.1
HousekeepingFrequency=1
SenderFrequency=30
DebugLevel=4
Timeout=5
TrapperTimeout=5
UnreachablePeriod=45
UnavailableDelay=15
UnavailableDelay=60
PidFile=/tmp/zabbix_server.pid
LogFile=/tmp/zabbix_server.log
LogFileSize=2
AlertScriptsPath=/home/zabbix/bin/
#ExternalScripts=/etc/zabbix/externalscripts
FpingLocation=/usr/sbin/fping
#PingerFrequency=60
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=okidoki
DBSocket=/var/lib/mysql/mysql.sock
CLIENT:
Server=127.0.0.1
ServerPort=10051
Hostname=zabbix.cellar.home
ListenPort=10050
ListenIP=127.0.0.1
StartAgents=5
RefreshActiveChecks=120
#DisableActive=1
DebugLevel=5
PidFile=/tmp/zabbix_agentd.pid
LogFile=/tmp/zabbix_agentd.log
LogFileSize=2
Timeout=3
These are my LOG files:
Server:
32577:20071010:060954 Starting zabbix_server. ZABBIX 1.4.2.
32577:20071010:060954 **** Enabled features ****
32577:20071010:060954 SNMP monitoring: YES
32577:20071010:060954 WEB monitoring: YES
32577:20071010:060954 Jabber notifications: NO
32577:20071010:060954 **************************
32581:20071010:060954 server #1 started [Poller. SNMP:ON]
32582:20071010:060955 server #2 started [Poller. SNMP:ON]
32583:20071010:060955 server #3 started [Poller. SNMP:ON]
32584:20071010:060955 server #4 started [Poller. SNMP:ON]
32590:20071010:060955 server #6 started [Trapper]
32592:20071010:060955 server #7 started [Trapper]
32594:20071010:060955 server #8 started [Trapper]
32596:20071010:060955 server #9 started [Trapper]
32598:20071010:060955 server #10 started [Trapper]
32585:20071010:060955 server #5 started [Poller. SNMP:ON]
32600:20071010:060955 server #11 started [ICMP pinger]
32601:20071010:060955 server #12 started [Alerter]
32606:20071010:060955 server #13 started [Housekeeper]
32606:20071010:060955 Executing housekeeper
32610:20071010:060955 server #14 started [Timer]
32613:20071010:060955 server #16 started [Node watcher. Node ID:1]
32615:20071010:060955 server #17 started [HTTP Poller]
32577:20071010:060955 server #0 started [Watchdog]
32612:20071010:060956 server #15 started [Poller for unreachable hosts. SNMP:ON]
32617:20071010:060956 server #18 started [Discoverer. SNMP:ON]
32606:20071010:060958 Deleted 0 records from history and trends
Agent:
3636:20071010:063826 zabbix_agentd started. ZABBIX 1.4.2.
3638:20071010:063826 zabbix_agentd collector started
3639:20071010:063826 zabbix_agentd listener started
3640:20071010:063826 zabbix_agentd listener started
3641:20071010:063826 zabbix_agentd listener started
3642:20071010:063826 zabbix_agentd active check started [127.0.0.1:10051]
3642:20071010:063826 In init_active_metrics()
3642:20071010:063826 In refresh_metrics('127.0.0.1',10051)
3642:20071010:063826 get_active_checks('127.0.0.1',10051)
3642:20071010:063826 Sending [ZBX_GET_ACTIVE_CHECKS
zabbix.cellar.home
]
3642:20071010:063826 Before read
3642:20071010:063826 In parse_list_of_checks('ZBX_EOF
')
3642:20071010:063826 In disable_all_metrics()
3642:20071010:063826 Parsed [ZBX_EOF]
3642:20071010:063826 In process_active_checks('127.0.0.1',10051)
3642:20071010:063826 In get_min_nextcheck()
3642:20071010:063826 Sleeping for 60 seconds
I can't find out what's wrong. Is there a way to test correct communication?
I've successfully compiled zabbix 1.4.2 under CentOS 5 and installed it on the same system as a server and agent working as a VPS under OpenVZ. I can't seem to see any data comming in from the server within the MySQL client. These are my conf files:
SERVER:
NodeID=1
StartPollers=5
StartPollersUnreachable=1
StartTrappers=5
StartPingers=1
StartDiscoverers=1
StartHTTPPollers=1
ListenPort=10051
#ListenIP=127.0.0.1
HousekeepingFrequency=1
SenderFrequency=30
DebugLevel=4
Timeout=5
TrapperTimeout=5
UnreachablePeriod=45
UnavailableDelay=15
UnavailableDelay=60
PidFile=/tmp/zabbix_server.pid
LogFile=/tmp/zabbix_server.log
LogFileSize=2
AlertScriptsPath=/home/zabbix/bin/
#ExternalScripts=/etc/zabbix/externalscripts
FpingLocation=/usr/sbin/fping
#PingerFrequency=60
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=okidoki
DBSocket=/var/lib/mysql/mysql.sock
CLIENT:
Server=127.0.0.1
ServerPort=10051
Hostname=zabbix.cellar.home
ListenPort=10050
ListenIP=127.0.0.1
StartAgents=5
RefreshActiveChecks=120
#DisableActive=1
DebugLevel=5
PidFile=/tmp/zabbix_agentd.pid
LogFile=/tmp/zabbix_agentd.log
LogFileSize=2
Timeout=3
These are my LOG files:
Server:
32577:20071010:060954 Starting zabbix_server. ZABBIX 1.4.2.
32577:20071010:060954 **** Enabled features ****
32577:20071010:060954 SNMP monitoring: YES
32577:20071010:060954 WEB monitoring: YES
32577:20071010:060954 Jabber notifications: NO
32577:20071010:060954 **************************
32581:20071010:060954 server #1 started [Poller. SNMP:ON]
32582:20071010:060955 server #2 started [Poller. SNMP:ON]
32583:20071010:060955 server #3 started [Poller. SNMP:ON]
32584:20071010:060955 server #4 started [Poller. SNMP:ON]
32590:20071010:060955 server #6 started [Trapper]
32592:20071010:060955 server #7 started [Trapper]
32594:20071010:060955 server #8 started [Trapper]
32596:20071010:060955 server #9 started [Trapper]
32598:20071010:060955 server #10 started [Trapper]
32585:20071010:060955 server #5 started [Poller. SNMP:ON]
32600:20071010:060955 server #11 started [ICMP pinger]
32601:20071010:060955 server #12 started [Alerter]
32606:20071010:060955 server #13 started [Housekeeper]
32606:20071010:060955 Executing housekeeper
32610:20071010:060955 server #14 started [Timer]
32613:20071010:060955 server #16 started [Node watcher. Node ID:1]
32615:20071010:060955 server #17 started [HTTP Poller]
32577:20071010:060955 server #0 started [Watchdog]
32612:20071010:060956 server #15 started [Poller for unreachable hosts. SNMP:ON]
32617:20071010:060956 server #18 started [Discoverer. SNMP:ON]
32606:20071010:060958 Deleted 0 records from history and trends
Agent:
3636:20071010:063826 zabbix_agentd started. ZABBIX 1.4.2.
3638:20071010:063826 zabbix_agentd collector started
3639:20071010:063826 zabbix_agentd listener started
3640:20071010:063826 zabbix_agentd listener started
3641:20071010:063826 zabbix_agentd listener started
3642:20071010:063826 zabbix_agentd active check started [127.0.0.1:10051]
3642:20071010:063826 In init_active_metrics()
3642:20071010:063826 In refresh_metrics('127.0.0.1',10051)
3642:20071010:063826 get_active_checks('127.0.0.1',10051)
3642:20071010:063826 Sending [ZBX_GET_ACTIVE_CHECKS
zabbix.cellar.home
]
3642:20071010:063826 Before read
3642:20071010:063826 In parse_list_of_checks('ZBX_EOF
')
3642:20071010:063826 In disable_all_metrics()
3642:20071010:063826 Parsed [ZBX_EOF]
3642:20071010:063826 In process_active_checks('127.0.0.1',10051)
3642:20071010:063826 In get_min_nextcheck()
3642:20071010:063826 Sleeping for 60 seconds
I can't find out what's wrong. Is there a way to test correct communication?
Comment