Ok, so I’m beginning to wonder if something was broken. I actually have WMI polling working with my implementation, and once upon a time the information learned via WMI would be displayed on the (workstation, server) display.

 

Now, however, I’m finding that even though the poller.php is learning the WMI information:

#####  Module Start: wmi  #####

 

WMI Poller:

Windows version updated: Server 2008 R2 Standard  SP1 (6.1.7601)

Intel(R) Xeon(R) CPU            5160  @ 3.00GHz

Storage WMI: ..

o Module time          3.2564s

 

When I view the specific page for that server, for example, the system shows:

Operating system: Microsoft Windows Server 2008 R2 SP1 (NT 6.1) (Multiprocessor)

 

And under Processors, it shows “Unknown Processor Type”.

 

From the wmi poll debugging for the processor, for example:

CMD[/bin/wmic --user='administrator' --password='hahayeahnope' --workgroup='SERVERNAME' --delimiter=## --namespace='root\CIMV2' -d2 //10.1.9.10 "SELECT * FROM Win32_Processor"]

 

EXITCODE[0]

CMD RUNTIME[2.5169s]

STDOUT[

[param/loadparm.c:2462:lp_load()] lp_load: refreshing parameters from /dev/null

[auth/gensec/gensec.c:1205:gensec_register()] gensec subsystem fake_gssapi_krb5 is disabled

[auth/gensec/gensec.c:1205:gensec_register()] gensec subsystem gssapi_spnego is disabled

[librpc/rpc/dcerpc_connect.c:513:continue_map_binding()] Mapped to DCERPC endpoint 135

[lib/com/dcom/main.c:1172:bind_new_pipe()] lib/com/dcom/main.c:1172: dcom_get_pipe: host=10.1.9.10, similar=10.1.9.10[49154]

[wmi/wmic.c:196:main()] OK   : Login to remote object.

[wmi/wmic.c:200:main()] OK   : WMI query execute.

[wmi/wmic.c:203:main()] OK   : Reset result of WMI query.

[wmi/wmic.c:212:main()] OK   : Retrieve result data.

CLASS: Win32_Processor

AddressWidth##Architecture##Availability##Caption##ConfigManagerErrorCode##ConfigManagerUserConfig##CpuStatus##CreationClassName##CurrentClockSpeed##CurrentVoltage##DataWidth##Description##DeviceID##ErrorCleared##ErrorDescription##ExtClock##Family##InstallDate##L2CacheSize##L2CacheSpeed##L3CacheSize##L3CacheSpeed##LastErrorCode##Level##LoadPercentage##Manufacturer##MaxClockSpeed##Name##NumberOfCores##NumberOfLogicalProcessors##OtherFamilyDescription##PNPDeviceID##PowerManagementCapabilities##PowerManagementSupported##ProcessorId##ProcessorType##Revision##Role##SocketDesignation##Status##StatusInfo##Stepping##SystemCreationClassName##SystemName##UniqueId##UpgradeMethod##Version##VoltageCaps

64##9##3##Intel64 Family 6 Model 15 Stepping 1##0##False##1##Win32_Processor##2992##33##64##Intel64 Family 6 Model 15 Stepping 1##CPU0##False##(null)##0##12##(null)##0##0##0##0##0##6##0##GenuineIntel##2992##Intel(R) Xeon(R) CPU            5160  @ 3.00GHz##1##1##(null)##(null)##NULL##False##0FEBFBFF000006F1##3##3841##CPU##CPU socket #0##OK##3##1##Win32_ComputerSystem##DBSRV2K8##(null)##4##Model 15, Stepping 1##2

64##9##3##Intel64 Family 6 Model 15 Stepping 1##0##False##1##Win32_Processor##2992##33##64##Intel64 Family 6 Model 15 Stepping 1##CPU1##False##(null)##0##12##(null)##0##0##0##0##0##6##0##GenuineIntel##2992##Intel(R) Xeon(R) CPU            5160  @ 3.00GHz##1##1##(null)##(null)##NULL##False##0FEBFBFF000006F1##3##3841##CPU##CPU socket #1##OK##3##1##Win32_ComputerSystem##DBSRV2K8##(null)##4##Model 15, Stepping 1##2

]

 

SQL[SELECT `processor_descr` FROM `processors` WHERE `device_id` = '121']

SQL RUNTIME[0.00077200s]

Intel(R) Xeon(R) CPU            5160  @ 3.00GHz

 

So I can see where it’s reading the information from WMI correctly, but it’s not updating the information displayed on the webpage.

 

Ideas?

 

…Ron

 

 


--
This message has been scanned for viruses and dangerous content by
E.F.A. Project, and is believed to be clean.