Hi.
I have a problem with the performance counters.
it appears, as soon as the character ']' is used in a counter.
The Zabbix-agent removes everything after the first ']ยด
This doesn't work in version 1.3.6, too.
Example:
Performance Counter is
If I use zabbix_agent with the following commandline to get it
The result is: ZBX_NOTSUPPORTED
and in the agent log file the following lines show up:
It seems to me, that the counter path's end is it the first ']' !
Using a different network interface, e.g. Broadcom NetXtreme Gigabit Ethernet or MS TCP Loopback interface i.e. without any ']' works fine.
I suggest using the last ']' as the end of the counter path, not the first one !
Unfortunately I am not able to compile the agent, so I can't fix it.
Regards,
Norbert.
I have a problem with the performance counters.
it appears, as soon as the character ']' is used in a counter.
The Zabbix-agent removes everything after the first ']ยด
This doesn't work in version 1.3.6, too.
Example:
Performance Counter is
Code:
\Network Interface(Intel[R] Pro_1000 MT Dual Port Network Connection)\Bytes Received/sec
Code:
zabbix_get -si3.xxx.org -k'perf_counter[\Network Interface(Intel[R] Pro_1000 MT Dual Port Network Connection)\Bytes Received/sec]'
and in the agent log file the following lines show up:
Code:
2808:20070511:104714 Requested [perf_counter[\Network Interface(Intel[R] Pro_1000 MT Dual Port Network Connection)\Bytes Received/sec]] 2808:20070511:104714 Can't add counter [\Network Interface(Intel[R] [Unable to parse the counter path. Check the format and syntax of the specified path. ]
Using a different network interface, e.g. Broadcom NetXtreme Gigabit Ethernet or MS TCP Loopback interface i.e. without any ']' works fine.
I suggest using the last ']' as the end of the counter path, not the first one !
Unfortunately I am not able to compile the agent, so I can't fix it.
Regards,
Norbert.