Klaus Umbach skrev:
On 30/09/08 20:46, Michael Medin wrote:
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...
So is there a way of asking NSClient++ language independent for e.g.
Ahh... now I understand... no... (though I guess I could add it if you
want).
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").
Another option would be to "include" a "local.ini" file and have the
language specific counters there.
(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.
Also there is WMI which does much of what PDH does but again the index
solution might be simpler...
// Michael Medin
"\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
// Michael Medin
Klaus Umbach skrev:
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. ::: Messages without supporting info will risk
being sent to /dev/null
-------------------------------------------------------------------------
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null