Telegraf:测量IIS和ASP。净绩效指标

时间:2018-07-12 00:45:11

标签: windows monitoring telegraf performance-monitor telegraf-inputs-plugin

我能够设置telegraf来监视默认系统指标,例如处理器,内存和磁盘io。但是,当我在conf文件中添加以下插件时,我看不到任何度量标准都记录在influxdb数据库中

[[inputs.win_perf_counters.object]]
# HTTP Service request queues in the Kernel before being handed over to User 
#  Mode.
ObjectName = "HTTP Service Request Queues"
Instances = ["*"]
Counters = ["CurrentQueueSize","RejectedRequests"]
Measurement = "win_http_queues"
#IncludeTotal=false #Set to true to include _Total instance when querying for all (*).

[[inputs.win_perf_counters.object]]
# .NET CLR Exceptions, in this case for IIS only
ObjectName = ".NET CLR Exceptions"
Counters = ["# of Exceps Thrown / sec"]
Instances = ["w3wp"]
Measurement = "win_dotnet_exceptions"
#IncludeTotal=false #Set to true to include _Total instance when querying for all (*).

我在conf文件中配置了这些插件,然后重新启动了telegraf服务,但是对于第一个插件,度量是在数据库中创建的,但是度量没有任何值,但是对于第二个插件,度量是根本不在数据库中创建的。 任何帮助将不胜感激

0 个答案:

没有答案