Plugging away at Zenoss.  I have run into a stumbling block with Windows 
monitoring.  Quick synopsis, I want to grab the serial number and Hardware 
information off the physical server that Windows Server 2003 is running on.
I have found this script that can do it on a sever.
@echo off
rem Setlocal
rem For /F %%a in ('wmic csproduct GET IdentifyingNumber /value^|find 
"IdentifyingNumber"') do Set %%a
rem @echo %Computername% - %IdentifyingNumber%
wmic csproduct
wmic bios
rem endlocal
pause

I have tried to use winexe to run this script so I can create a plugin that 
uses this to populate the serial number field for the servers.  I cannot 
however get the winexe command to work.  Here is what I am using
winexe -U "${dev/zWinUser}%${dev/zWinPassword}" //${dev/manageIp} 'cmd /C 
sernum.bat'  

I get this error
Failed to install service winexesvc – NT code 0x00000424.  I tried to install 
the latest version of winexe but after I did I got Fatal error : Kernel to old 
Segmentation fault.

Any help would be greatly appreciated!!




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=35849#35849

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to