View Full Version : 1.1.6&1.3.4 (W32)different behaviour for perf_counter and UserParameter with wilcard
djinn_fr22
29-03-2007, 11:04
Hi,
I have an issue with zabbix agentd for Windows for version 1.1.6 and 1.3.4 with the use of wildcard.
In 1.1.6, UserParameter with wildcard doesn't work in windows.
There is a patch that has been proposed on 1.1.4, but I don't think it has been integrated on 1.1.6.
http://www.zabbix.com/forum/showthread.php?t=4877&highlight=wildcards
Perfcounter works well with wildcard in 1.1.6.
In 1.3.4, Userparameter works with wildcard.
But perfcounter doesn't work.
See http://www.zabbix.com/forum/showthread.php?t=5567
So I am a bit stuck with my strategy about wilcard use :)
Thanks for any helps.
Please could you give an example?
djinn_fr22
29-03-2007, 12:16
I am running on Win Advanced Sever 2003.
PerfCounter:
1.1.6
ZabbixW32.exe.1.1.6 test perf_counter["\Process(ZabbixW32)\Private Bytes"]
perf_counter[\Process(ZabbixW32)\Private Bytes] [5136384.000000]
1.3.4
zabbix_agentd.exe.1.3.4 -t perf_counter["\Process(ZabbixW32)\Private Bytes"]
zabbix_agentd.exe.1.3.4 [8912]: Unable to resolve symbol 'GetPerformanceInfo'
Userparameter:
In fact, by testing again, it's not working at all wildcard with Userparamter on 1.1.6 and 1.3.4.
To test, I am using a simple test.bat file:
@echo %1
Here is the line, I added in zabbix_agentd.conf
UserParameter= mytest ,C:\test.bat $1
1.1.6
ZabbixW32.exe.1.1.6 test mytest[123]
Configuration file OK
[29-Mar-2007 11:08:24] *************** Log file opened ****************
[29-Mar-2007 11:08:24] Collector thread initialized successfully
mytest[123] [ZBX_NOTSUPPORTED]
1.3.4
zabbix_agentd.exe.1.3.4 -t mytest[123]
zabbix_agentd.exe.1.3.4 [9140]: Unable to resolve symbol 'GetPerformanceInfo'
mytest [m|ZBX_NOTSUPPORTED]
1.1.4 with patch
ZabbixW32.exe.1.1.4.patch test mytest[123]
[29-Mar-2007 11:03:54] *************** Log file opened ***********
[29-Mar-2007 11:03:54] Collector thread initialized successfully
[29-Mar-2007 11:03:54] mytest[123] [123]
Thanks for your helps.
BusteR81
23-05-2007, 04:24
nice results so what is the conclusion? how to bypass getPerformanceInfo errors which i am getting on my win 2000 servers.
cheers
djinn_fr22
23-05-2007, 11:16
I don't think that has been fixed in new release of 1.3.x.
New Zabbix agent doesn't work for win 2000 servers.
I don't see in the todo list for 1.3.x on the wiki.
So until then, use agent 1.1.x or SNMP.
I hope it gonna be fixed in future release, because it's going to create 2 branch version of the code otherwise.