我已经安装了Datastax v4.1.2。它与版本2.0.8捆绑在一起。我在Windows 2008 R2 64-bit上运行这些。当我打开opscenter时,所有代理都被连接起来,除了没有显示任何信息的存储容量小部件之外,所有的统计数据都会显示出来。
opescenterd.log文件显示(IP地址已删除):
2014-06-16 12:24:01+0100 [local] ERROR: Agent for xx.xxx.x.xx was unable to complete operation (http://xx.xxx.x.xx:61621/os-metric/disk-space?): java.io.IOException: Process failed: wmic LogicalDisk where DriveType=3 get DeviceId,Size,FreeSpace /Format:csv
Exit val: 44210
Output:
Invalid XSL format (or) file name.opscenter-agent日志显示:
ERROR [os-metrics-11] 2014-06-16 12:29:39,564 Short os-stats collector failed: Process failed: wmic LogicalDisk where DriveType=3 get DeviceId,Size,FreeSpace /Format:csv
Exit val: 44210
Output:
Invalid XSL format (or) file name.这两条消息都定期重复。有人能告诉我这个错误吗?
发布于 2015-08-13 09:56:19
这是Windows7WMIC中的错误。当您在英语Windows安装中使用荷兰地区设置时,WMIC将搜索C:\Windows\System32\wbem\nl-NL中的xsl文件,而不是它们所在的C:\Windows\System32\wbem\en-US文件。
解决办法:
C:\Windows\system32\wbem\nl-NL的文件夹(或您使用的任何区域设置,检查HKCU\Control Panel\International\LocaleName)并将C:\Windows\system32\wbem\en-US\*.xsl文件复制到其中。WMIC process get /format:"%WINDIR%\System32\wbem\en-US\csv"。https://serverfault.com/questions/605429
复制相似问题