I'm trying to pull some DB2 perfmons using the 1.8.3 win64 agent. The syntax in the conf file is correct as the item is accepted...but when Zabbix agent tries to pull the perfmon..it says the object does not exist. There are other perfmon active checks in the same conf file that work fine...They however do not have a handful of spaces in the instance field.
Agent debug output below.....
1512:20101104:162447.541 cfg: para: [PerfCounter] val [db2.LL.ADWDR.Active.Sorts,"\DB2 Databases(LL_ADWDR )\Active Sorts",10]
1512:20101104:162447.541 Accepted configuration parameter: 'PerfCounter' = 'db2.LL.ADWDR.Active.Sorts,"\DB2 Databases(LL_ADWDR )\Active Sorts",10'
1512:20101104:162447.541 In add_perf_counter() [counter:\DB2 Databases(LL_ADWDR )\Active Sorts] [interval:10]
1512:20101104:162447.619 Unable to add performance counter '\DB2 Databases(LL_ADWDR )\Active Sorts' to query: The specified object is not found on the system.
1512:20101104:162447.619 Alias added. [db2.LL.ADWDR.Active.Sorts] -> [__UserPerfCounter[db2.LL.ADWDR.Active.Sorts]]
Here is the output of the manual execution of the perfmon from a dos window...
"(PDH-CSV 4.0)","\\ATL-PROD-DB-01\DB2 Databases(LL_ADWDR )\Active Sorts"
"11/04/2010 16:23:06.400","2.000000"
"11/04/2010 16:23:07.400","2.000000"
"11/04/2010 16:23:08.400","3.000000"
"11/04/2010 16:23:09.400","1.000000"
"11/04/2010 16:23:10.416","1.000000"
"11/04/2010 16:23:11.416","1.000000"
"11/04/2010 16:23:12.416","1.000000"
"11/04/2010 16:23:13.416","1.000000"
"11/04/2010 16:23:14.431","1.000000"
"11/04/2010 16:23:15.431","1.000000"
The command completed successfully.
It seems like when the agent attempts to pull the perfmon...it has issues with the spaces. Note that when i added this post...the forum engine removed all but 1 space from the instance field of the perfmon that was used as an example. The Instance field is as follows (LL_ADWDR ). As registered in perfmon...there are 12 spaces between the end of the instance name and the ")".
Agent debug output below.....
1512:20101104:162447.541 cfg: para: [PerfCounter] val [db2.LL.ADWDR.Active.Sorts,"\DB2 Databases(LL_ADWDR )\Active Sorts",10]
1512:20101104:162447.541 Accepted configuration parameter: 'PerfCounter' = 'db2.LL.ADWDR.Active.Sorts,"\DB2 Databases(LL_ADWDR )\Active Sorts",10'
1512:20101104:162447.541 In add_perf_counter() [counter:\DB2 Databases(LL_ADWDR )\Active Sorts] [interval:10]
1512:20101104:162447.619 Unable to add performance counter '\DB2 Databases(LL_ADWDR )\Active Sorts' to query: The specified object is not found on the system.
1512:20101104:162447.619 Alias added. [db2.LL.ADWDR.Active.Sorts] -> [__UserPerfCounter[db2.LL.ADWDR.Active.Sorts]]
Here is the output of the manual execution of the perfmon from a dos window...
"(PDH-CSV 4.0)","\\ATL-PROD-DB-01\DB2 Databases(LL_ADWDR )\Active Sorts"
"11/04/2010 16:23:06.400","2.000000"
"11/04/2010 16:23:07.400","2.000000"
"11/04/2010 16:23:08.400","3.000000"
"11/04/2010 16:23:09.400","1.000000"
"11/04/2010 16:23:10.416","1.000000"
"11/04/2010 16:23:11.416","1.000000"
"11/04/2010 16:23:12.416","1.000000"
"11/04/2010 16:23:13.416","1.000000"
"11/04/2010 16:23:14.431","1.000000"
"11/04/2010 16:23:15.431","1.000000"
The command completed successfully.
It seems like when the agent attempts to pull the perfmon...it has issues with the spaces. Note that when i added this post...the forum engine removed all but 1 space from the instance field of the perfmon that was used as an example. The Instance field is as follows (LL_ADWDR ). As registered in perfmon...there are 12 spaces between the end of the instance name and the ")".