<div dir="ltr"><div>Hi,</div>
<div> </div>
<div>Just 2 quick comment,</div>
<div> </div>
<div>WMI can "usually" provide the All the same information that you retrieve from preformance counters, </div>
<div>However the hard part is finding the correct WMI that matches the counter. And accessing WMI sometimes has a Subsystem  delay That Performance counters do not have.  WMI also sometimes has other unanticipated subsystem effects. For example a WMI to check Freespace on Disks actually accesses each Logical disk (including Floppy disk drives) unless the WMI querry is writen to explicitly exclude particular types. Other WMI queries may check remote hosts before responding thus adding delays instead of imediate responces. <br>
</div>
<div>on the issue of the German vrs English Counters , I just patched a similar issue in NC_Net below is a Comment Emailed to me from a NC_NEt user that may be helpful in retriving the COunters (It requires REGEDIT)</div>

<div> </div>
<div><<Comment From User>></div>
<div><span lang="EN">generell german counter without umlaute works.</span></div>
<div>
<p>I don´t think it is a nagios/nc_net problem, maybe it is a generell linux problem with the umlaute.(default systemlanguage)</p>
<p>some guys got a workaround by adding the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib</p>
<p>there you got 007 for german and 009 for englisch.</p>
<p>they fixed it by modifying the counter part im 007 folder.</p>
<p>there they changes the ö in oe and the ä in ae, that is how german people write the umlaute when they cant use the original ä.</p>
<p><<END Comment>></p>
<p>Hope this Helps</p>
<p>TOny </p></div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Wed, Oct 1, 2008 at 5:16 AM, Michael Medin <span dir="ltr"><<a href="mailto:michael@medin.name">michael@medin.name</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div text="#000000" bgcolor="#ffffff">Klaus Umbach skrev: 
<div class="Ih2E3d">
<blockquote type="cite"><pre>On 30/09/08 20:46, Michael Medin wrote:
  </pre>
<blockquote type="cite"><pre>Hello,

NSClient++ (version 3 and above) do not use the "counter names" so they  
are no longer language specific.
The coutners.defs is there as a "fall back" so it is probably never used...
    </pre></blockquote><pre>So is there a way of asking NSClient++ language independent for e.g.
  </pre></blockquote><br></div>Ahh... now I understand... no... (though I guess I could add it if you want).<br>Feel free to make such a request at the trac site at <a href="http://nsclient.org/" target="_blank">nsclient.org</a> and I shall see if I can fix it (going to Germany for maschinenfest so might take a week or two before you get it in a "nightly build").<br>
<br>Another option would be to "include" a "local.ini" file and have the language specific counters there.<br>(look under the [include] section). But this would I guess require you to make some "manual" handling so I think an index based solution would perhaps be better.<br>
Also there is WMI which does much of what PDH does but again the index solution might be simpler...<br><font color="#888888"><br><br>// Michael Medin</font> 
<div>
<div></div>
<div class="Wj3C7c"><br><br><br>
<blockquote type="cite"><pre>"\Physikalischer Datenträger(_Total)\Durchschnittl. Warteschlangenlänge des Datenträgers" 
vs
"\PhysicalDisk(_Total)\Avg. Disk Queue Length"

or do I have to define different services for different languages?

-
        Treibholz

  </pre>
<blockquote type="cite"><pre>// Michael Medin

Klaus Umbach skrev:
    </pre>
<blockquote type="cite"><pre>Hi,

I was just scared by the discovery that the performance counters in Windows
are language specific... (Those morons even use Umlauts!)

Is it somehow possible to define all I need in counters.defs and use them
with a language-independent call?

I already defined some, but I don't know how to call them now.




Cheers
        Klaus


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
<a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a>
_______________________________________________
Nagios-users mailing list
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when 
reporting any issue. ::: Messages without supporting info will risk 
being sent to /dev/null

  
      </pre></blockquote></blockquote><pre>  </pre></blockquote><br></div></div></div><br>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>Grand prize is a trip for two to an Open Source event anywhere in the world<br><a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div>