Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Definable WMI namespace ?
#1

I'm trying to use openhardware monitor and it publishes to its own namespace (root\OpenHardwareMonitor ) but as far as I can see in the Pandora Agent code the namespace is set as the default ( see  pandorafms/pandora_agents/win32/windows/pandora_wmi.cc  in getWmiStr() has wcscat (wmi_str, L"\\root\\cimv2"); and I can't see where I can override this from within the pandora_agent.conf module (i.e. there is only  module_wmiquery and  module_wmicolumn

As a suggestion Pandora FMS agent support on Windows should also support the namespace e.g. a new module_wminamespace which overrides the default namespace (i.e. "\\root\\cimv2")  so as to allow the openhardware monitor WMI to be queried directly from the Pandora Agent.

OpenHardware monitor is an open source application that displays CPU/GPU temperatures but more importantly it makes this data available via WMI. For the moment I'm going to have to use WMIC command line. 
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes