PDA

View Full Version : need working example of zabbix_agentd.conf fpr w32


rwagner
12-08-2005, 11:16
I starting working with zabbix (cool product). I need a huge zabbix_agentd.conf file for win32.

I try to use some parameters, but i get all the time the same error message:

Syntax error in configuration file, line xx

The config file is:

Server=10.52.32.120

ListenPort=10000

StartAgents=5

DebugLevel=3

LogUnresolvedSymbols="yes"

PidFile=c:\zabbix\zabbix_agentd.pid
LogFile=c:\zabbix\zabbix_agentd.log

Timeout=3

md5_hash["c:\zabbix\zabbix_agentd.conf"]
proc_info["iexplorer.exe:pf:avg"]
swap[free]
diskfree[c:\]
disktotal[c:\]


thanks

James Wells
12-08-2005, 16:11
Greetings,

Right off the bat, I thin your errors are in the following entries;

md5_hash["c:\zabbix\zabbix_agentd.conf"]
proc_info["iexplorer.exe:pf:avg"]
swap[free]
diskfree[c:\]
disktotal[c:\]
Unless I am reading the documentation incorrectly, these do not go into the zabbix_agentd.conf file, but instead are done on the zabbix server itself. If you need these on the zabbix_agentd.conf, you would use something like the following;

UserParameter=md5_hash["c:\zabbix\zabbix_agentd.conf"]
UserParameter=proc_info["iexplorer.exe:pf:avg"]
UserParameter=swap[free]
UserParameter=diskfree[c:\]
UserParameter=disktotal[c:\]

But even then, these would fail as they are predefined entries within the zabbixW32 agent itself.