ncpa windows counters

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

ncpa windows counters

Postby nozlaf » Thu Mar 16, 2017 9:07 pm

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?
Looking forward to seeing you all at #NagiosCon2017?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
User avatar
nozlaf
 
Posts: 152
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: ncpa windows counters

Postby mcapra » Fri Mar 17, 2017 12:50 pm

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.
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 2773
Joined: Thu May 05, 2016 3:54 pm

Re: ncpa windows counters

Postby nozlaf » Sat Mar 18, 2017 3:15 am

interesting, is there any workaround?
Looking forward to seeing you all at #NagiosCon2017?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
User avatar
nozlaf
 
Posts: 152
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: ncpa windows counters

Postby dwhitfield » Sat Mar 18, 2017 6:16 pm

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3756
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC


Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot] and 13 guests