English and German Counters with NSClient++

Anthony Montibello amontibello at gmail.com
Thu Oct 2 03:00:22 CEST 2008


Hi,

Just 2 quick comment,

WMI can "usually" provide the All the same information that you retrieve
from preformance counters,
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.
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)

<<Comment From User>>
generell german counter without umlaute works.

I don´t think it is a nagios/nc_net problem, maybe it is a generell linux
problem with the umlaute.(default systemlanguage)

some guys got a workaround by adding the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib

there you got 007 for german and 009 for englisch.

they fixed it by modifying the counter part im 007 folder.

there they changes the ö in oe and the ä in ae, that is how german people
write the umlaute when they cant use the original ä.

<<END Comment>>

Hope this Helps

TOny


On Wed, Oct 1, 2008 at 5:16 AM, Michael Medin <michael at medin.name> wrote:

> 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 worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081001/c5dd2e74/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list