Opened 15 months ago

Closed 6 months ago

#509 closed defect (fixed)

Windows counter issue when langage Pack installed

Reported by: pca-ibm Owned by: mickem
Priority: 1 Milestone: 0.4.1
Component: None Version: 0.3.8
Severity: Bugs Keywords:
Cc:

Description

Hello,

We have a problem to supervise the Windows counters. We have the following message when we try to request a counter:

COUNTER_AVG-DISK-QUEUE-LENGTH_C : CRIT: Counter not found: LogicalDisk?(C:)Avg. Disk Queue Length: L'objet spécifié n'a pas été trouvé sur l'ordinateur. (C0000BB8)
FR_COUNTER_AVG-DISK-QUEUE-LENGTH_C : CRIT: Counter not found: Disque Logique(C:)Long. moy. de file d'attente du disque: Le compteur sp?cifi? n'a pas ?t? trouv?. (C0000BB9)

The server is installed in French, but "laguages packs" are installed on it. We have also the problem on all servers installed with Windows 2008 R2 in French.

Details of checks:

FR_COUNTER_AVG-DISK-TAIL-LENGTH_C: $ USER1 $ / check_nrpe-H $ HOSTADDRESS $-t 50-c-a CheckCounter "Counter: AverageDiskQueueLength? = \ \ Logical Disk (C :) \ \ Long. Avg. Queue disc "ShowAll MaxWarn MaxCrit = 1 = 2
COUNTER_AVG-DISK-TAIL-LENGTH_C: $ USER1 $ / check_nrpe-H $ HOSTADDRESS $-t 50-c-a CheckCounter "Counter: AverageDiskQueueLength? = \ \ LogicalDisk? (C :) \ \ Avg. Disk Queue Length" ShowAll MaxWarn = 1 MaxCrit = 2

The command "C: \ Program Files \ NSClient + +>" NSClient + +. Exe "CheckSystem listpdh" to get the list of counters is abruptly interrupts. (see attached file)

Ditto for the command "C: \ Program Files \ NSClient + +>" NSClient + +. Exe "CheckSystem debugpdh". (see attached file)

How can we solve the problem?

Cdt,
Philippe C.

Change History (2)

comment:1 Changed 15 months ago by mickem

  • Milestone set to 0.4.1
  • Owner set to mickem

Counters are localized which is a "problem" with windows unfortunetly.
You can often get around it using "index" but that only works for some counters if they are installed in the same order so not a 100% guarantee...

not sure about list pdh in 0.3.9 (should work though) but in 0.4.0 this works splendidly for me:

nscp client --module CheckSystem --exec listpdh 

I did not see any attached file BTW...

Michael Medin

comment:2 Changed 6 months ago by mickem

  • Resolution set to fixed
  • Status changed from new to closed

Please reopen if this issue is still present in 0.4.1, the PDH command line interface tools have been much improved.

Note: See TracTickets for help on using tickets.