Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard/Select all fields #1

Open
stephanbuys opened this issue May 10, 2016 · 4 comments
Open

Wildcard/Select all fields #1

stephanbuys opened this issue May 10, 2016 · 4 comments

Comments

@stephanbuys
Copy link

I'm testing this beat now and it looks quite cool. Is there a way to automatically select 'all' fields?

@eskibars
Copy link
Owner

Not at the moment, but it's a nice idea!

@ArtyomBaranovskiy
Copy link

+1

@bigtoerag
Copy link

bigtoerag commented Jul 29, 2016

I tried manually adding all fields for the ones in your yml file but I keep hitting this error:

2016/07/29 05:42:57.545724 beat.go:273: CRIT Running the beat returned an error: Exception occurred. Start error: Exception occurred. 2016/07/29 05:42:57.545724 beat.go:126: CRIT Start error: Exception occurred. 2016/07/29 05:42:57.545724 beat.go:307: INFO Start exiting beat 2016/07/29 05:42:57.545724 beat.go:282: INFO Stopping Beat 2016/07/29 05:42:57.545724 beat.go:290: INFO Cleaning up wmibeat before shutting down. 2016/07/29 05:42:57.545724 beat.go:139: INFO Exit beat completed

The config section that bombs out is this:
` - class: Win32_PerfFormattedData_PerfOS_System
fields:

  •   - AlignmentFixupsPersec
    
  •   - Caption
    
  •   - ContextSwitchesPersec
    
  •   - Description
    
  •   - ExceptionDispatchesPersec
    
  •   - FileControlBytesPersec
    
  •   - FileControlOperationsPersec
    
  •   - FileDataOperationsPersec
    
  •   - FileReadBytesPersec
    
  •   - FileReadOperationsPersec
    
  •   - FileWriteBytesPersec
    
  •   - FileWriteOperationsPersec
    
  •   - FloatingEmulationsPersec
    
  •   - Name
    
  •   - PercentRegistryQuotaInUse
    
  •   - Processes
    
  •   - ProcessorQueueLength
    
  •   - SystemCallsPersec
    
  •   - SystemUpTime
    
  •   - Threads
    

`

Win32_PerfFormattedData_PerfOS_Memory, Win32_PerfFormattedData_PerfDisk_LogicalDisk, Win32_OperatingSystem all work fine with all fields.

Any idea from the code line in the error?

@ArtyomBaranovskiy
Copy link

@bigtoerag I'd recommend to avoid using this wmibeat implementation in production, because there is a crucial resource leak inside. The pull request (#2) fixing it was created quite a long time ago, so I assume @eskibars is no more interested in supporting the repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants