I've recently got Zabbix 1.1.6 installed through macports (OS X Tiger). I got a simple shell script based test working but the log monitor comes up blank.
I go to the History view in Monitoring and none of the monitoring options show anything. In the monitoring queue the items show up with "next check" set to 12.31.1969 19:00:00.
The timestamp format in the log looks like this [Time 2007.03.21 22:19:29 UTC]. I'd also like to monitor /var/log/system.log which looks like this: "Mar 21 18:19:29".
Here are my item settings:
Type: ZABBIX agent (active)
Key: log[/var/log/asl.log]
Type of Information: Log
Tried with and without a date format.
Turned on debug for both the server and agentd process and neither wrote any mention of my item name.
Here is my complete config (with comments grepped out):
mac2-1:/opt/local/etc/zabbix root# egrep '^[^#]' zabbix_agentd.conf
Server=127.0.0.1,10.128.237.81,10.128.237.82
Hostname=localhost
DebugLevel=3
PidFile=/var/tmp/zabbix_agentd.pid
LogFile=/tmp/zabbix_agentd.log
Timeout=3
UserParameter=tonytest.tmplisting,cat /tmp/tonytest
mac2-1:/opt/local/etc/zabbix root#
mac2-1:/opt/local/etc/zabbix root# egrep '^[^#]' zabbix_server.conf
Server=1
StartPollers=6
StartTrappers=5
ListenPort=10051
HousekeepingFrequency=1
SenderFrequency=30
DebugLevel=3
Timeout=5
PidFile=/var/tmp/zabbix_server.pid
LogFile=/tmp/zabbix_server.log
AlertScriptsPath=/home/zabbix/bin/
FpingLocation=/opt/local/sbin/fping
DBName=zabbix
DBUser=root
DBPassword=******
DBSocket=/opt/local/var/run/mysql5/mysqld.sock
mac2-1:/opt/local/etc/zabbix root#
I go to the History view in Monitoring and none of the monitoring options show anything. In the monitoring queue the items show up with "next check" set to 12.31.1969 19:00:00.
The timestamp format in the log looks like this [Time 2007.03.21 22:19:29 UTC]. I'd also like to monitor /var/log/system.log which looks like this: "Mar 21 18:19:29".
Here are my item settings:
Type: ZABBIX agent (active)
Key: log[/var/log/asl.log]
Type of Information: Log
Tried with and without a date format.
Turned on debug for both the server and agentd process and neither wrote any mention of my item name.
Here is my complete config (with comments grepped out):
mac2-1:/opt/local/etc/zabbix root# egrep '^[^#]' zabbix_agentd.conf
Server=127.0.0.1,10.128.237.81,10.128.237.82
Hostname=localhost
DebugLevel=3
PidFile=/var/tmp/zabbix_agentd.pid
LogFile=/tmp/zabbix_agentd.log
Timeout=3
UserParameter=tonytest.tmplisting,cat /tmp/tonytest
mac2-1:/opt/local/etc/zabbix root#
mac2-1:/opt/local/etc/zabbix root# egrep '^[^#]' zabbix_server.conf
Server=1
StartPollers=6
StartTrappers=5
ListenPort=10051
HousekeepingFrequency=1
SenderFrequency=30
DebugLevel=3
Timeout=5
PidFile=/var/tmp/zabbix_server.pid
LogFile=/tmp/zabbix_server.log
AlertScriptsPath=/home/zabbix/bin/
FpingLocation=/opt/local/sbin/fping
DBName=zabbix
DBUser=root
DBPassword=******
DBSocket=/opt/local/var/run/mysql5/mysqld.sock
mac2-1:/opt/local/etc/zabbix root#
Comment