Page 1 of 1

ncpa windows counters

Posted: Thu Mar 16, 2017 9:07 pm
by nozlaf
i'm running ncpa 2.02 and want to do some windows counters stuff

Code: Select all

\logicaldisk(*)\Avg. Disk Bytes/Transfer


gives me
"Error: The specified object was not found on the computer."
seems it doesn't like most of the disk counters even tho typeperf -q shows them as being there

am I missing something?

Re: ncpa windows counters

Posted: Fri Mar 17, 2017 12:50 pm
by mcapra
It's a known issue with the current version of NCPA. Similar problem to what causes this:
https://github.com/NagiosEnterprises/ncpa/issues/316

A future version (2.1 most likely) will accept the counter as an argument rather than part of the URL, should make things a bit cleaner.

Re: ncpa windows counters

Posted: Sat Mar 18, 2017 3:15 am
by nozlaf
interesting, is there any workaround?

Re: ncpa windows counters

Posted: Sat Mar 18, 2017 6:16 pm
by dwhitfield
The easiest/quickest one I can think of is just to use 1.8.1 until 2.1 comes out.

I took a look at the dev branch on github, and the fix isn't there yet. You could just keep an eye on the github page and test it out when it comes to the dev branch.

I have a couple of other ideas, but those would require untested code-modifications.