Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WMI remoto
#11
Si, es la contraseña que este asociada al Usario que indicas.

Los módulos wmi locales creados desde el fichero de configuración del agente te funcionan correctamente??
 Reply
#12
Pongo el código de los módulos y una captura de alguno de ellos, se puede ver que sí que funciona aunque tiene sentido porque se ejecutan desde el propio ordenador y en mi caso falla el intentar acceder desde otro ordenador:
Code:
# WMI Query Win32_Service
module_begin
module_name wmiquery_w32service name
module_type generic_data_string
module_wmiquery Select Name from Win32_Service
module_wmicolumn Name
module_end

# WMI Query Win32_Processor
module_begin
module_name wmiquery_w32processor loadpercentage
module_type generic_data_string
module_wmiquery Select LoadPercentage from Win32_Processor
module_wmicolumn LoadPercentage
module_end

# WMI Query Win32_Keyboard
module_begin
module_name WMIKeyboardName
module_type generic_data_string
module_wmiquery Select Name from Win32_Keyboard
module_wmicolumn Name
module_end

# WMI Query Win32_Keyboard
module_begin
module_name WMIKeyboardStatus
module_type generic_data_string
module_wmiquery Select Status from Win32_Keyboard
module_wmicolumn Status
module_end

# WMI Query Win32_DesktopMonitor
module_begin
module_name WMIDeskMonitorName
module_type generic_data_string
module_wmiquery Select Name from Win32_DesktopMonitor
module_wmicolumn Name
module_end

# WMI Query Win32_DesktopMonitor
module_begin
module_name WMIDeskMonitorStatus
module_type generic_data_string
module_wmiquery Select Status from Win32_DesktopMonitor
module_wmicolumn Status
module_end

# WMI Query Win32_PointingDevice
module_begin
module_name WMIPointingDeviceName
module_type generic_data_string
module_wmiquery Select Name from Win32_PointingDevice
module_wmicolumn Name
module_end

# WMI Query Win32_PointingDevice
module_begin
module_name WMIPointingDeviceNoButtons
module_type generic_data
module_wmiquery Select NumberOfButtons from Win32_PointingDevice
module_wmicolumn NumberOfButtons
module_end

# WMI Query Win32_LogicalDisk
module_begin
module_name WMILogicalDisk
module_type generic_data
module_wmiquery Select FreeSpace from Win32_LogicalDisk where Name="C:"
module_wmicolumn FreeSpace
module_postprocess 0,050000954
module_end
 Reply
#13
La captura q se me había olvidado...


Attached Files


.png   01.png (Size: 65.09 KB / Downloads: 182)
 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