<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Klaus Umbach skrev:
<blockquote cite="mid:20081001063329.GB12005@umbach-racing.de"
type="cite">
<pre wrap="">On 30/09/08 20:46, Michael Medin wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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 wrap=""><!---->
So is there a way of asking NSClient++ language independent for e.g.
</pre>
</blockquote>
<br>
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 nsclient.org 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>
<br>
<br>
// Michael Medin<br>
<br>
<br>
<blockquote cite="mid:20081001063329.GB12005@umbach-racing.de"
type="cite">
<pre wrap="">
"\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 wrap="">
// Michael Medin
Klaus Umbach skrev:
</pre>
<blockquote type="cite">
<pre wrap="">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 class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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 wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>