WIN Performance Counter with "#" in path, ...

Started by sodalist, June 29, 2009, 02:56:00 PM

Previous topic - Next topic

sodalist

Hello,

Is there any option to collect windows performance counters with
"#" in path name. I tried enclosing # in single/double quotes,
prefixing with "/", "\", defining path in agent config *WinPerf section
vs using PDH parameter.

In trace mode it looks like parsing stops at "#" character.

Agent used was: 0.2.26.1 (0.2.26).

Thank you,

Ales

Victor Kirhenshtein

Hi!

It's a bug. Fortunately it's easy to fix, I'll do it till release.

Best regards,
Victor

sodalist

Thank you,

BTW I am still searching for pay pal donations button :)
For those of us that appreciate hard work but can not
afford professional support.

Ales

Victor Kirhenshtein

Quote from: sodalist on July 02, 2009, 04:37:46 AM
BTW I am still searching for pay pal donations button :)

We have added such button :) May be it will have some use :)

Best regards,
Victor

sodalist

Hello,

I tested the button. You can provide feedback by adding little timeout
to ServiceCheck.Custom(<insert arguments here>) as additional parameter
so that check would give back value when TCP port is not reachable :)

And one more suggestion if I can :) (pushing my luck) evaluate feature
requests, create table put value preset pay pall button in each row in that
table.

thank you,

Ales

Victor Kirhenshtein

Hi!

Thank you! I'll add timeout option, but not in 0.2.27 - it's already prepared for release.

Best regards,
Victor

Alex Kirhenshtein

#6
Quote from: sodalist on July 09, 2009, 03:23:33 PM
I tested the button. You can provide feedback by adding little timeout
to ServiceCheck.Custom(<insert arguments here>) as additional parameter
so that check would give back value when TCP port is not reachable :)

Hi.

I've just submited required changes, they will be pushed into upcoming release (will be packed tomorrow morning)

Default timeout is set to 30 seconds, but you can change it using "Timeout" parameter (in milliseconds) in "*portcheck" section.

Sample nxagentd.conf:
MasterServers = localhost
LogFile = /tmp/nx/agent.log
SubAgent = /tmp/nx/lib/libnsm_portCheck.so

*Portcheck
Timeout = 5000 # 5 seconds.

Victor Kirhenshtein

Also, it is now possible to specify timeout (in milliseconds) as last argument in all ServiceCheck.xxx parameters. Timeout given directly in parameter will override default timeout set by Timeout in configuration file.

Best regards,
Victor