TECHZEN Zenoss User Community ARCHIVE  

Viewing data collcted by Microsoft WIndows ZenPack

Subject: Viewing data collcted by Microsoft WIndows ZenPack
Author: Jason Olson
Posted: 2017-08-21 13:23

After upgrading to Zenoss 5.3.0, I'm still having issues where some Windows servers are returning empty messages from events pulled from the Application/System logs by the Windows Event Log datasource. The event log is read, the log entry is retrieved, but the message and summary fields are empty, and the event severity is set to 1 (Debug).

Anyone know how I can examine the data as it arrives so I can figure out what about those event logs is causing grief? I'm trying to get a bit more debug data so I can do some troubleshooting.


Subject: RE: Viewing data collcted by Microsoft WIndows ZenPack
Author: Jane Curry
Posted: 2017-08-30 14:38

Since the Windows ZenPack uses the Python Collector, try attaching to the zenpython container and running zenpython against a specific device, sending the output to a logfile that you can inspect:

serviced service attach zenpython su zenoss -l
zenpython run -v 10 -d  <device name> > /tmp/zenpython.out 2>&1

and inspect /tmp/zenpython.out.  You should see any returned data in there.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Viewing data collcted by Microsoft WIndows ZenPack
Author: Jason Olson
Posted: 2017-08-30 15:31

Thank you, Jane. That was exactly the command I needed to help troubleshoot. Appreciate it!

------------------------------
Jason Olson
------------------------------


< Previous
RM Graph Rendering Issue
  Next
Health Checks for opentsdb & Central Query failing
>