Home
last modified time | relevance | path

Searched refs:counterPath (Results 1 – 25 of 60) sorted by relevance

123

/dports/net-mgmt/zabbix3-proxy/zabbix-3.0.32/src/libs/zbxwin32/
H A Dperfmon.c253 int check_counter_path(char *counterPath) in check_counter_path() argument
262 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
272 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
279 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
293 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
296 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix3-frontend/zabbix-3.0.32/src/libs/zbxwin32/
H A Dperfmon.c253 int check_counter_path(char *counterPath) in check_counter_path() argument
262 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
272 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
279 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
293 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
296 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix3-java/zabbix-3.0.32/src/libs/zbxwin32/
H A Dperfmon.c253 int check_counter_path(char *counterPath) in check_counter_path() argument
262 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
272 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
279 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
293 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
296 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix3-server/zabbix-3.0.32/src/libs/zbxwin32/
H A Dperfmon.c253 int check_counter_path(char *counterPath) in check_counter_path() argument
262 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
272 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
279 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
293 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
296 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix3-agent/zabbix-3.0.32/src/libs/zbxwin32/
H A Dperfmon.c253 int check_counter_path(char *counterPath) in check_counter_path() argument
262 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
272 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
279 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
293 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
296 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix4-proxy/zabbix-4.0.30/src/libs/zbxwin32/
H A Dperfmon.c444 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
453 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
463 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
470 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
486 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
489 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix4-server/zabbix-4.0.30/src/libs/zbxwin32/
H A Dperfmon.c444 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
453 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
463 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
470 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
486 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
489 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix4-agent/zabbix-4.0.30/src/libs/zbxwin32/
H A Dperfmon.c444 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
453 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
463 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
470 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
486 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
489 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix4-java/zabbix-4.0.30/src/libs/zbxwin32/
H A Dperfmon.c444 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
453 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
463 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
470 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
486 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
489 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix4-frontend/zabbix-4.0.30/src/libs/zbxwin32/
H A Dperfmon.c444 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
453 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
463 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
470 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
486 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, cpe, counterPath)) in check_counter_path()
489 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix5-java/zabbix-5.0.19/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix5-proxy/zabbix-5.0.19/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix5-agent/zabbix-5.0.19/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix54-agent/zabbix-5.4.9/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix5-server/zabbix-5.0.19/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix54-proxy/zabbix-5.4.9/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix54-java/zabbix-5.4.9/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix54-frontend/zabbix-5.4.9/src/libs/zbxwin32/
H A Dperfmon.c674 int check_counter_path(char *counterPath, int convert_from_numeric) in check_counter_path() argument
682 wcounterPath = zbx_utf8_to_unicode(counterPath); in check_counter_path()
692 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
699 counterPath, strerror_from_module(status, L"PDH.DLL")); in check_counter_path()
715 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__func__, cpe, counterPath)) in check_counter_path()
718 zabbix_log(LOG_LEVEL_DEBUG, "counter path converted to '%s'", counterPath); in check_counter_path()
/dports/net-mgmt/zabbix4-proxy/zabbix-4.0.30/src/zabbix_agent/
H A Dcpustat.c132 char counterPath[PDH_MAX_COUNTER_PATH]; in init_cpu_collector() local
163 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
166 if (NULL == (pcpus->cpu_counter[idx] = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
207 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
211 add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
224 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
227 if (NULL == (pcpus->queue_counter = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
237 zabbix_log(LOG_LEVEL_WARNING, "cannot add performance counter \"%s\": %s", counterPath, error); in init_cpu_collector()
/dports/net-mgmt/zabbix4-java/zabbix-4.0.30/src/zabbix_agent/
H A Dcpustat.c132 char counterPath[PDH_MAX_COUNTER_PATH]; in init_cpu_collector() local
163 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
166 if (NULL == (pcpus->cpu_counter[idx] = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
207 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
211 add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
224 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
227 if (NULL == (pcpus->queue_counter = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
237 zabbix_log(LOG_LEVEL_WARNING, "cannot add performance counter \"%s\": %s", counterPath, error); in init_cpu_collector()
/dports/net-mgmt/zabbix4-server/zabbix-4.0.30/src/zabbix_agent/
H A Dcpustat.c132 char counterPath[PDH_MAX_COUNTER_PATH]; in init_cpu_collector() local
163 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
166 if (NULL == (pcpus->cpu_counter[idx] = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
207 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
211 add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
224 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
227 if (NULL == (pcpus->queue_counter = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
237 zabbix_log(LOG_LEVEL_WARNING, "cannot add performance counter \"%s\": %s", counterPath, error); in init_cpu_collector()
/dports/net-mgmt/zabbix4-frontend/zabbix-4.0.30/src/zabbix_agent/
H A Dcpustat.c132 char counterPath[PDH_MAX_COUNTER_PATH]; in init_cpu_collector() local
163 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
166 if (NULL == (pcpus->cpu_counter[idx] = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
207 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
211 add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
224 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
227 if (NULL == (pcpus->queue_counter = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
237 zabbix_log(LOG_LEVEL_WARNING, "cannot add performance counter \"%s\": %s", counterPath, error); in init_cpu_collector()
/dports/net-mgmt/zabbix4-agent/zabbix-4.0.30/src/zabbix_agent/
H A Dcpustat.c132 char counterPath[PDH_MAX_COUNTER_PATH]; in init_cpu_collector() local
163 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
166 if (NULL == (pcpus->cpu_counter[idx] = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
207 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
211 add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
224 if (ERROR_SUCCESS != zbx_PdhMakeCounterPath(__function_name, &cpe, counterPath)) in init_cpu_collector()
227 if (NULL == (pcpus->queue_counter = add_perf_counter(NULL, counterPath, MAX_COLLECTOR_PERIOD, in init_cpu_collector()
237 zabbix_log(LOG_LEVEL_WARNING, "cannot add performance counter \"%s\": %s", counterPath, error); in init_cpu_collector()

123