TECHZEN Zenoss User Community ARCHIVE  

Winrm with german operating system

Subject: Winrm with german operating system
Author: [Not Specified]
Posted: 2014-08-31 11:58

Hello everybody

as far as i can see, the winrm performance monitoring with zenpack 2.1.2 is not working for german operating systems. I tried it a long time to get it to work with der version 4.2.5 of zenoss core. But with no luck.

After that, I installed Windows Server 2012 R2 in english and it worked from the beginning. With the same settings in Windows Server 2012 R2 German (and also in Server 2012) the system modeling ist working, but no performance data is retrieved over many ours. When I run "zenpython run -v10 --cycle" I see the following:
______________________________________________________________________________________________
2014-08-31 18:16:46,936 INFO zen.collector.scheduler: Detailed Task Statistics:
configLoader Current State: FETCHING_MISC_CONFIG Successful_Runs: 1 Failed_Runs: 0 Missed_Runs: 0

Detailed Task States:
configLoader State: RUNNING Total: 1 Total Elapsed: 0.1256 Min: 0.1256 Max: 0.1256 Mean: 0.1256 StdDev: 0.0000
configLoader State: QUEUED Total: 1 Total Elapsed: 0.0047 Min: 0.0047 Max: 0.0047 Mean: 0.0047 StdDev: 0.0000

2014-08-31 18:16:46,937 DEBUG zen.collector.config: Heartbeat timeout set to 900s
2014-08-31 18:16:46,937 DEBUG zen.collector.scheduler: add task configLoader, using 21600 second interval
2014-08-31 18:16:46,938 DEBUG zen.collector.config: Fetching threshold classes
2014-08-31 18:16:47,161 DEBUG zen.zenpython: Loading classes ['Products.ZenModel.MinMaxThreshold', 'Products.ZenModel.ValueChangeThreshold']
2014-08-31 18:16:47,162 DEBUG zen.collector.config: Fetching collector thresholds
2014-08-31 18:16:47,311 DEBUG zen.thresholds: Updating threshold ('high event queue', ('localhost collector', ''))
2014-08-31 18:16:47,311 DEBUG zen.thresholds: Updating threshold ('zenmodeler cycle time', ('localhost collector', ''))
2014-08-31 18:16:47,312 DEBUG zen.collector.config: Fetching configurations
2014-08-31 18:16:47,978 DEBUG zen.zenpython: updateDeviceConfigs: updatedConfigs=['192.168.10.128']
2014-08-31 18:16:47,979 DEBUG zen.zenpython: Processing configuration for 192.168.10.128
2014-08-31 18:16:47,979 DEBUG zen.daemon: DummyListener: configuration 192.168.10.128 added
2014-08-31 18:16:47,980 DEBUG zen.collector.tasks: Splitting config 192.168.10.128
2014-08-31 18:16:48,027 DEBUG zen.windows: Creating 1 long running command(s)
2014-08-31 18:16:48,029 DEBUG zen.zenpython: Tasks for config 192.168.10.128: {'192.168.10.128 300 Windows Perfmon': <__main__.PythonCollectionTask object at 0x739e410>}
2014-08-31 18:16:48,029 DEBUG zen.collector.scheduler: add task 192.168.10.128 300 Windows Perfmon, <__main__.PythonCollectionTask object at 0x739e410> using 300 second interval
2014-08-31 18:16:48,030 DEBUG zen.thresholds: Updating threshold ('ldapBindTimeCrit', ('192.168.10.128', ''))
2014-08-31 18:16:48,030 DEBUG zen.thresholds: Updating threshold ('ldapBindTimeErr', ('192.168.10.128', ''))
2014-08-31 18:16:48,030 DEBUG zen.thresholds: Updating threshold ('ldapBindTimeWarn', ('192.168.10.128', ''))
2014-08-31 18:16:48,031 DEBUG zen.thresholds: Updating threshold ('high utilization', ('192.168.10.128', '10-Gigabit-Netzwerkverbindung Intel_R_ 82574L'))
2014-08-31 18:16:48,031 DEBUG zen.thresholds: Updating threshold ('low disk space', ('192.168.10.128', 'C'))
2014-08-31 18:16:48,032 DEBUG zen.thresholds: Updating threshold ('low disk space', ('192.168.10.128', 'Volume_5a3c79b4-2edb-11e4-80b4-806e6f6e6963'))
2014-08-31 18:16:48,033 DEBUG zen.zenpython: purgeOmittedDevices: deletedConfigs=
2014-08-31 18:16:48,034 DEBUG zen.collector.scheduler: Task configLoader finished, result: 'Configuration loaded'
2014-08-31 18:16:51,801 DEBUG zen.zenpython: Sending 0 events, 0 perf events, 1 heartbeats
2014-08-31 18:16:56,833 DEBUG zen.collector.scheduler: tasks to clean KeyedSet([])
2014-08-31 18:16:56,833 DEBUG zen.collector.scheduler: Cleanup on task configLoader
2014-08-31 18:16:56,833 DEBUG zen.collector.scheduler: Scheduler._cleanupTaskComplete: result=None task.name=configLoader
2014-08-31 18:19:09,033 DEBUG zen.collector.scheduler: Task 192.168.10.128 300 Windows Perfmon starting (waited 141 seconds) on 300 second intervals
2014-08-31 18:19:09,033 DEBUG zen.collector.scheduler: Task 192.168.10.128 300 Windows Perfmon changing state from IDLE to QUEUED
2014-08-31 18:19:09,033 DEBUG zen.collector.scheduler: Task 192.168.10.128 300 Windows Perfmon changing state from QUEUED to RUNNING
2014-08-31 18:19:09,033 DEBUG zen.windows: starting Get-Counter on 192.168.10.128
2014-08-31 18:19:09,248 DEBUG zen.collector.scheduler: Task 192.168.10.128 300 Windows Perfmon finished, result: None
2014-08-31 18:19:09,249 DEBUG zen.collector.scheduler: Task 192.168.10.128 300 Windows Perfmon changing state from RUNNING to IDLE
2014-08-31 18:19:10,006 DEBUG zen.windows: Performing check for corrupt counters
2014-08-31 18:19:11,566 DEBUG zen.windows: Creating 1 long running command(s)
2014-08-31 18:19:11,567 DEBUG zen.windows: stopping Get-Counter on 192.168.10.128
2014-08-31 18:19:11,596 DEBUG zen.windows: starting Get-Counter on 192.168.10.128
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.defer.CancelledError:
2014-08-31 18:19:12,464 DEBUG zen.windows: Performing check for corrupt counters
2014-08-31 18:19:14,333 DEBUG zen.windows: Creating 1 long running command(s)
2014-08-31 18:19:14,334 DEBUG zen.windows: stopping Get-Counter on 192.168.10.128
2014-08-31 18:19:14,360 DEBUG zen.windows: starting Get-Counter on 192.168.10.128
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.defer.CancelledError:
____________________________________________________________________________________________

Here in Switzerland, we have many systems with German operating systems. Is there any possibility to get it to work or am I doing something wrong

Thank for your help.



Subject: Has noone the same problem?
Author: [Not Specified]
Posted: 2014-10-28 14:15

Has noone the same problem Does someone have information



Subject: What exactly?
Author: [Not Specified]
Posted: 2014-12-10 08:46

Hello,
i have german os installed too, i can see interface stats etc... but the perf-graphs and the free disk space information is empty. What information are you missing



Subject: Performance graphs
Author: [Not Specified]
Posted: 2014-12-10 11:27

I've missed exactly de perf-graphs and also diskspace. But i installed the U.S. English language on the Windows Server 2012 R2 German and switched the language of the user, with which i make the winrm query to English an then, the perf-graphs are received from zenoss. See also this thread (http://www.zenoss.org/forum/2916).

Thank you for your reply.

Greets



Subject: Windows unfortunately exports
Author: [Not Specified]
Posted: 2014-12-10 11:58

Windows unfortunately exports it's winrm parameters in native language, and we don't have i18n support for this ZenPack. It's not hard to add though if you want to go through the template and edit it to fit



Subject: Hi
Author: [Not Specified]
Posted: 2014-12-11 12:56

Hi

I tried to translate the winrm perf counters in the template but it didn't work for me. Perhaps I made something wrong. I looked in the windows performance monitor to get the german values, but there are some Umlaute (...) and symbols, which I think make problems. Or is there a guide to change the tempaltes

Tanke you very much



Subject: I can confirm that the same
Author: Joan
Posted: 2015-09-28 03:57

I can confirm that the same happens on spanish installs on current releases of the zenpack, I am yet to try the proposed workaround. I'll comment on the results.



Subject: i "fixed" this issue by
Author: [Not Specified]
Posted: 2015-09-28 14:16

i "fixed" this issue by replacing the registry info of the counters/perf of my language (spanish) with the english one (also present in the registry).



Subject: First, take a backup of "
Author: [Not Specified]
Posted: 2015-09-30 15:58

First, take a backup of "\windows\system32\perfstringbackup.ini".
Then open it and replace all the entries of your language with those of the english language (in my case, i only had english and spanish in that file).
Then perform the following:

Performance counters:
Click on Start, CMD (elevated as an Administrator)
Type "C:" without the quotation marks and Enter.
Type "CD\windows\system32" without the quotation marks and Enter.
Type "LodCtr.exe /S:Backup_Original.INI" without the quotation marks and Enter.
Note: This let's you backup the performance counters before we rebuild.
Type "LodCtr.exe /R:PerfStringBackup.INI" without the quotation marks and Enter.
Open up Perfmon and check to see if your counters are showing up properly.



< Previous
dev hours happening now!
  Next
Sort numerically on table column (ComponentGridPanel)
>