Hi,
I have tried for days to create a discovery (LLD) for windows performance counters, but I just do not get it working.
I found a Bug-Report where I got some information:
There someone wrote:
But it seems that everytime I try to use a key like perf_counter.discovery I receive a error on the client like: active check is not supported.
Perhaps I am using the wrong syntax for <CATEGORY> but I can not find any documentation for this, so I tried the Following:
But nothing seems to work.
I also tried the Test on the console with:
But I only receive:
Has anyone a idea what is going wrong?
Or a tip to point me in the right direction?
b.r.
T.K.
I have tried for days to create a discovery (LLD) for windows performance counters, but I just do not get it working.
I found a Bug-Report where I got some information:
There someone wrote:
To use the discovery rule, use key 'perf_counter.discovery[<Category>]'.
This will return ' {#INSTANCE}' names which you then use in Discovery Rule Item Prototypes like 'perf_counter[<Category>({#INSTANCE})\CounterName]'
This will return ' {#INSTANCE}' names which you then use in Discovery Rule Item Prototypes like 'perf_counter[<Category>({#INSTANCE})\CounterName]'
But it seems that everytime I try to use a key like perf_counter.discovery I receive a error on the client like: active check is not supported.
Perhaps I am using the wrong syntax for <CATEGORY> but I can not find any documentation for this, so I tried the Following:
Code:
perf_counter.discovery[\Prozessor] perf_counter.discovery[\Prozessor(*)] perf_counter.discovery[\Prozessor(*)\Benutzerzeit (%)]
I also tried the Test on the console with:
Code:
zabbix_agentd.exe -t perf_counter.discovery[Prozessor] zabbix_agentd.exe -t perf_counter.discovery[Prozessor()] zabbix_agentd.exe -t perf_counter.discovery[\Prozessor] zabbix_agentd.exe -t perf_counter.discovery[\Prozessor(*)] zabbix_agentd.exe -t perf_counter.discovery[„Prozessor“] zabbix_agentd.exe -t perf_counter.discovery[„Prozessor()“] zabbix_agentd.exe -t perf_counter.discovery[„\Prozessor“] zabbix_agentd.exe -t perf_counter.discovery[„\Prozessor(*)“]
Code:
perf_counter.discovery[…] [m|ZBX_NOTSUPPORTED] [Unsupported item key.]
Has anyone a idea what is going wrong?
Or a tip to point me in the right direction?
b.r.
T.K.
Comment