News:

We really need your input in this questionnaire

Main Menu

Agent PDH.CounterValue

Started by Sibiu, November 25, 2011, 11:15:18 PM

Previous topic - Next topic

Sibiu

I am trying to get the value of a counter from a windows machine, but something is going wrong.

1) Add a new DCI to my server
2) Pick "Agent" as the source
3) Pick "PDH.CounterValue(*)" as the parameter
4) Enter PDH.CounterValue("\Postilion:PostView(Location:[GCSink])\Transactions per second") as the parameter

According to a previous comment as the parameter contains brackets then it must be in quotes, however it still does not seem to work.

What am I doing wrong?
Please help me


Paul

Victor Kirhenshtein

Hi!

What do you get - error or incorrect value? Also, try to run agent in debug mode - it should log PDH error when server requests this parameter.

Best regards,
Victor

Sibiu

Thanks for your answer, I must have been working too long or something as when I tried it again it works fine.

Thanks for your magic powers  :D