auch wir testen gerade OPSI, läuft auch alles soweit ganz gut, jedoch schlägt die Hardwareinventarisierung bei einer kleinen Anzahl von Clients permanent fehl.
im opsiclientd.log sind keine Auffälligkeiten zu finden.
Code: Alles auswählen
[6] [Mar 25 12:15:39] [ action_processor_starter.exe ] Waiting for process ending: 2264 (timeout: 10800 seconds) (Windows.pyo|1210)
[5] [Mar 25 12:17:15] [ action_processor_starter.exe ] Process 2264 ended with exit code 0 (Windows.pyo|1220)
Wenn im CONFIGED hwaudit auf "always" gesetzt ist, sehen die letzten Zeilen so aus:
Code: Alles auswählen
...
...
...
Mar 24 08:30:33 [debug2] Arg string is: hostId, opsiHostKey (JSONRPC.pyo|553)
Mar 24 08:30:33 [debug2] Call string is: hostId, opsiHostKey (JSONRPC.pyo|554)
Mar 24 08:30:33 [debug2] Arg string is: type, data, objectId=None, append=True (JSONRPC.pyo|553)
Mar 24 08:30:33 [debug2] Call string is: type, data, objectId, append (JSONRPC.pyo|554)
Mar 24 08:30:33 [info] <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x018A2800>: Connected to service (JSONRPC.pyo|399)
Mar 24 08:30:33 [notice] Connected to opsi4 server (hwaudit.py|781)
Mar 24 08:30:33 [notice] Fetching opsi hw audit configuration (hwaudit.py|785)
Mar 24 08:30:33 [debug] Executing jsonrpc method 'auditHardware_getConfig' on host 192.168.21.117 (JSONRPC.pyo|103)
Mar 24 08:30:33 [debug2] jsonrpc: {"params": [null], "id": 2, "method": "auditHardware_getConfig"} (JSONRPC.pyo|106)
Mar 24 08:30:33 [debug2] Request to host '192.168.21.117', baseUrl: /rpc, query '{"params": [null], "id": 2, "method": "auditHardware_getConfig"}' (JSONRPC.pyo|584)
Mar 24 08:30:33 [debug] Content-Type: application/json;charset=utf-8 (JSONRPC.pyo|612)
Mar 24 08:30:33 [debug2] {"id": 2, "result": [{"Values": [{"Opsi": "name", "WMI": "Name", [.............] "WMI": "select * from Win32_Printer", "UI": "Printer"}}], "error": null} (JSONRPC.pyo|618)
Mar 24 08:30:33 [notice] Fetching hardware information from WMI (hwaudit.py|791)
Code: Alles auswählen
...
...
...
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.Name' (hwaudit.py|639)
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.Description' (hwaudit.py|639)
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.Manufacturer' (hwaudit.py|639)
Mar 25 12:28:15 [warning] NETWORK_CONTROLLER.model: failed to get attribute 'Model' from objects ['<_wmi_object: \\\\testPC\\root\\cimv2:Win32_NetworkAdapter.DeviceID="14">', '<_wmi_object: \\\\testPC\\root\\cimv2:Win32_NetworkAdapterConfiguration.Index=14>'] (hwaudit.py|604)
Mar 25 12:28:15 [warning] NETWORK_CONTROLLER.serialNumber: failed to get attribute 'SerialNumber' from objects ['<_wmi_object: \\\\testPC\\root\\cimv2:Win32_NetworkAdapter.DeviceID="14">', '<_wmi_object: \\\\testPC\\root\\cimv2:Win32_NetworkAdapterConfiguration.Index=14>'] (hwaudit.py|604)
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.PNPDeviceID' (hwaudit.py|639)
Mar 25 12:28:15 [warning] Method 'split('\\')[1].split('&')[1].split('_')[1]' failed on value 'BTH\MS_BTHPAN\7&174497DC&0&2' (hwaudit.py|618)
Mar 25 12:28:15 [warning] Method 'split('\\')[1].split('&')[2].split('_')[1][:4]' failed on value 'BTH\MS_BTHPAN\7&174497DC&0&2' (hwaudit.py|618)
Mar 25 12:28:15 [warning] Method 'split('\\')[1].split('&')[2].split('_')[1][4:]' failed on value 'BTH\MS_BTHPAN\7&174497DC&0&2' (hwaudit.py|618)
Mar 25 12:28:15 [warning] Method 'split('\\')[1].split('&')[3].split('_')[1]' failed on value 'BTH\MS_BTHPAN\7&174497DC&0&2' (hwaudit.py|618)
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.PNPDeviceID' (hwaudit.py|639)
Mar 25 12:28:15 [warning] Truncating value 'BTH\MS_BTHPAN\7&174497DC&0&2': string is to long (hwaudit.py|653)
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.AdapterType' (hwaudit.py|639)
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.MACAddress' (hwaudit.py|639)
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.NetConnectionStatus' (hwaudit.py|639)
Mar 25 12:28:15 [debug] Searching mapping for 'Win32_NetworkAdapter.IPEnabled' (hwaudit.py|639)
Mar 25 12:28:15 [debug] Hardware object is now: {u'vendorId': None, u'maxSpeed': None, u'vendor': u'Microsoft', u'name': u'Bluetooth-Ger\xe4t (PAN)', u'macAddress': u'1C:65:9D:F5:54:DC', u'ipAddress': None, u'serialNumber': None, u'subsystemDeviceId': None, u'subsystemVendorId': None, u'deviceType': u'BTH', u'deviceId': None, u'ipEnabled': u'False', u'autoSense': None, u'model': None, u'revision': u'BTH\\MS_B', u'netConnectionStatus': u'Media disconnected', u'adapterType': u'Ethernet 802.3', u'description': u'Bluetooth-Ger\xe4t (PAN)'} (hwaudit.py|658)
Nun die Frage, ob man das irgendwie beheben kann, ohne die Telefone abziehen zu müssen
PS:
Die Uhrzeiten stimmen nicht ganz überein, auf Grund der verschiedenen Versuche
außerdem hätte ich gern die LOG-Files angehangen, jedoch wird mit folgendes gesagt:
Das Kontingent für Dateianhänge ist bereits vollständig ausgenutzt.
Danke&VG
EDIT:
Okay, nach Test auf einer anderen Maschine kann es an der Openstage Anlage auch nicht liegen, bei diesem ist nämlich die Inventur durch gelaufen, allerdings ist dies ein WinXP 32Bit Client, die anderen sind Win7 32&64Bit. Jedoch läuft hwaudit bei einem WinXP 32Bit Client ebenfalls nicht durch, letzten Zeilen vom hwaudit.log:
Code: Alles auswählen
Mar 23 18:39:45 [debug] Searching mapping for 'Win32_NetworkAdapter.Name' (hwaudit.py|639)
Mar 23 18:39:45 [debug] Searching mapping for 'Win32_NetworkAdapter.Description' (hwaudit.py|639)
Mar 23 18:39:45 [debug] Searching mapping for 'Win32_NetworkAdapter.Manufacturer' (hwaudit.py|639)
Mar 23 18:39:45 [warning] NETWORK_CONTROLLER.model: failed to get attribute 'Model' from objects ['<_wmi_object: \\\\testPC3\\root\\cimv2:Win32_NetworkAdapter.DeviceID="9">', '<_wmi_object: \\\\testPC3\\root\\cimv2:Win32_NetworkAdapterConfiguration.Index=9>'] (hwaudit.py|604)
Mar 23 18:39:45 [warning] NETWORK_CONTROLLER.serialNumber: failed to get attribute 'SerialNumber' from objects ['<_wmi_object: \\\\testPC3\\root\\cimv2:Win32_NetworkAdapter.DeviceID="9">', '<_wmi_object: \\\\testPC3\\root\\cimv2:Win32_NetworkAdapterConfiguration.Index=9>'] (hwaudit.py|604)
Mar 23 18:39:45 [debug] Searching mapping for 'Win32_NetworkAdapter.PNPDeviceID' (hwaudit.py|639)
Mar 23 18:39:45 [warning] Method 'split('\\')[1].split('&')[1].split('_')[1]' failed on value 'ROOT\MS_PSCHEDMP\0001' (hwaudit.py|618)
Mar 23 18:39:45 [warning] Method 'split('\\')[1].split('&')[2].split('_')[1][:4]' failed on value 'ROOT\MS_PSCHEDMP\0001' (hwaudit.py|618)
Mar 23 18:39:45 [warning] Method 'split('\\')[1].split('&')[2].split('_')[1][4:]' failed on value 'ROOT\MS_PSCHEDMP\0001' (hwaudit.py|618)
Mar 23 18:39:45 [warning] Method 'split('\\')[1].split('&')[3].split('_')[1]' failed on value 'ROOT\MS_PSCHEDMP\0001' (hwaudit.py|618)
Mar 23 18:39:45 [debug] Searching mapping for 'Win32_NetworkAdapter.PNPDeviceID' (hwaudit.py|639)
Mar 23 18:39:45 [warning] Truncating value 'ROOT\MS_PSCHEDMP\0001': string is to long (hwaudit.py|653)
Mar 23 18:39:45 [debug] Searching mapping for 'Win32_NetworkAdapter.AdapterType' (hwaudit.py|639)
Mar 23 18:39:45 [debug] Searching mapping for 'Win32_NetworkAdapter.MACAddress' (hwaudit.py|639)
Mar 23 18:39:45 [debug] Searching mapping for 'Win32_NetworkAdapter.IPEnabled' (hwaudit.py|639)
Mar 23 18:39:45 [debug] Hardware object is now: {u'vendorId': None, u'maxSpeed': None, u'vendor': u'Microsoft', u'name': u'Paketplaner-Miniport', u'macAddress': u'62:8E:20:52:41:53', u'ipAddress': None, u'serialNumber': None, u'subsystemDeviceId': None, u'subsystemVendorId': None, u'deviceType': u'ROOT', u'deviceId': None, u'ipEnabled': u'False', u'autoSense': None, u'model': None, u'revision': u'ROOT\\MS_', u'netConnectionStatus': None, u'adapterType': u'Ethernet 802.3', u'description': u'Paketplaner-Miniport'} (hwaudit.py|658)