Sorry about my english...
I have an item with the following settings:
Type: Zabbix agent (Active)
Key: log[C:\xxx\yyy\zzz\file.log]
With the agent 1.6.6 (revision 7834) I get the information correctly:
With the agent 1.8 (revision 8563) I do not get the information correctly:
I have an item with the following settings:
Type: Zabbix agent (Active)
Key: log[C:\xxx\yyy\zzz\file.log]
With the agent 1.6.6 (revision 7834) I get the information correctly:
Code:
3212:20091216:120100 JSON before sending [{
"request":"agent data",
"data":[
{
"host":"ProxyDiff",
"key":"log[C:\\xxx\\yyy\\zzz\\file.log]",
"value":"2009\/12\/16 09:35:11.295 ProxyDiff #1312 Value of CfgFile parameter: <proxydiff.cf>",
"lastlogsize":84,
"clock":1260972060}],
"clock":1260972060}]
3212:20091216:120100 JSON back [{
"response":"success",
"info":"Processed 1 Failed 0 Total 1 Seconds spent 0.000715"}]
3212:20091216:120100 In check_response({
"response":"success",
"info":"[B][U][COLOR="red"]Processed 1 Failed 0 Total 1 Seconds spent 0.000715[/COLOR][/U][/B]"})
4032:20091216:120100 In GetCounterName() [index:6]
3212:20091216:120100 Info from server: Processed 1 Failed 0 Total 1 Seconds spent 0.000715
3212:20091216:120100 OK
Code:
1628:20091216:115709.513 JSON before sending [{
"request":"agent data",
"data":[
{
"host":"Proxydiff",
"key":"log[C:\\xxx\\yyy\\zzz\\file.log]",
"value":"2009\/12\/16 09:35:11.295 ProxyDiff #1312 Value of CfgFile parameter: <proxydiff.cf>",
"lastlogsize":84,
"clock":1260971829}],
"clock":1260971829}]
1628:20091216:115709.513 JSON back [{
"response":"success",
"info":"[B][U][COLOR="red"]Processed 0 Failed 1 Total 1 Seconds spent 0.000204[/COLOR][/U][/B]"}]
1628:20091216:115709.513 In check_response({
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000204"})
1628:20091216:115709.513 Info from server: Processed 0 Failed 1 Total 1 Seconds spent 0.000204
1628:20091216:115709.513 OK