[Xymon] Windows PS client svcs data missing

Scot Kreienkamp SKreien at la-z-boy.com
Tue May 10 19:23:58 CEST 2011


 

From: David Baldwin [mailto:david.baldwin at ausport.gov.au] 
Sent: Monday, May 09, 2011 9:31 PM
To: Scot Kreienkamp; xymon at xymon.com
Subject: Re: [Xymon] Windows PS client svcs data missing

 

On 10/05/11 2:09 AM, Scot Kreienkamp wrote: 

Hi everyone,

 

I've run into a problem with the Windows Powershell client intermittently omitting service data on Win2008.  Here's the relevant parts of the client data file:

 

Microsoft Windows Server 2008 R2 Standard   (build 7600)

---snip---

Persistent Routes:

  None

[ifstat]

fe80::619f:8c8:bf22:6ca5%11 2254617444 2999570366

10.100.1.211 2254617444 2999570366

::1 0 0

127.0.0.1 0 0

[svcs]

Name                                    StartupType  Status         DisplayName

[uptime]

sec: 8168297

94 days 12 hours 58 minutes 17 seconds

Bootup: 20110203213923.713291-360

[who]

SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE

---snip---

 

As you can see, the svcs portion is empty.  I already updated the client to the latest PS client files available and it still is happening. I'm not a programmer so I'm not sure how I can help troubleshoot this, but I'm willing to help in any way I can.

services information is gathered from WMI. The builtin powershell "get-services" doesn't return sufficient information.

Try the following:

open a powershell window (powershell.exe lives in C:\WINDOWS\system32\windowspowershell\v1.0)

Get-WmiObject -Class Win32_Service

Try running it a few times. Is it slow, or does it sometimes not return any information?

 

 

Sometimes it returns instantly, sometimes it takes 3-4 seconds, but it always returned info.  Also, there was no load on the server the last time the report came in blank.  



Also, if you look at the Client data report (link at the bottom of various pages - cpu, disk, procs, svcs), do you see sections for [WMI:Win32...] towards the bottom of the report. There should be:

WMI:Win32_OperatingSystem
WMI:Win32_ComputerSystem
WMI:Win32_BIOS
WMI:Win32_Processor
WMI:Win32_PhysicalMemory
WMI:Win32_LogicalDisk
WMI:Win32_QuickFixEngineering
WMI:Win32_Product
 

If these are missing there may be a problem with the WMI service. Try restarting it in the first instance.

 

Yes, I see those in the report.  

 

Yesterday when the problem was happening I restarted the server… still the same problem after the reboot.  Not sure if it makes any difference or not, but mostly where I'm seeing these are VM's running under VMWare.  



David.



 

Thanks!

 

Scot Kreienkamp

skreien at la-z-boy.com

 

  

________________________________




This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110510/84cd4f6e/attachment.html>


More information about the Xymon mailing list